回答編集履歴

1

CSSを整形

2019/07/12 02:03

投稿

root_jp
root_jp

スコア4666

test CHANGED
@@ -2,29 +2,37 @@
2
2
 
3
3
  @media (min-width: 768px) {
4
4
 
5
+ /* BOX3とBOX4を横に並べる設定 */
5
6
 
7
+ .boxA:after {
6
8
 
7
- /* BOX3とBOX4を横に並べる設定 */
8
-
9
- .boxA:after {content: "";
9
+ content: "";
10
10
 
11
11
  display: block;
12
12
 
13
- clear: both}
13
+ clear: both;
14
+
15
+ }
14
16
 
15
17
 
16
18
 
17
- .box3 {float: left;
19
+ .box3 {
18
20
 
21
+ float: left;
22
+
19
- width: 70%}
23
+ width: 70%;
24
+
25
+ }
20
26
 
21
27
 
22
28
 
23
- .box4 {float: left;
29
+ .box4 {
24
30
 
25
- width: 30%}
31
+ float: left;
26
32
 
33
+ width: 30%;
27
34
 
35
+ }
28
36
 
29
37
  }
30
38