回答編集履歴

2

ちょっと汚くなった。

2019/02/08 07:33

投稿

m.ts10806
m.ts10806

スコア80850

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  margin-top: 70px;
12
12
 
13
- width:100%;/*追加*/
13
+ text-align:center;
14
14
 
15
15
  }
16
16
 
@@ -18,19 +18,21 @@
18
18
 
19
19
  .footer-contents {
20
20
 
21
- width:100%; /*追加*/
21
+ margin-left:10%;
22
22
 
23
- text-align:center;/*追加*/
23
+ margin-right:10%;
24
24
 
25
25
  }
26
26
 
27
27
 
28
28
 
29
- .content-item {
29
+ .footer-contents .content-item {
30
30
 
31
- width : calc(100% /3) ;/*追加*/
31
+ width : calc(100% /3) ;
32
32
 
33
33
  float: left;
34
+
35
+ text-align:left;
34
36
 
35
37
  }
36
38
 

1

追記

2019/02/08 07:33

投稿

m.ts10806
m.ts10806

スコア80850

test CHANGED
@@ -1,4 +1,4 @@
1
- 見やすく整えただけですが
1
+ 自分好みに見やすく整えただけですが
2
2
 
3
3
  ```css
4
4
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  margin-top: 70px;
12
12
 
13
- width:100%;
13
+ width:100%;/*追加*/
14
14
 
15
15
  }
16
16
 
@@ -18,11 +18,9 @@
18
18
 
19
19
  .footer-contents {
20
20
 
21
- clear:both;
21
+ width:100%; /*追加*/
22
22
 
23
- width:100%;
24
-
25
- text-align:center;
23
+ text-align:center;/*追加*/
26
24
 
27
25
  }
28
26
 
@@ -30,7 +28,7 @@
30
28
 
31
29
  .content-item {
32
30
 
33
- width : calc(100% /3) ;
31
+ width : calc(100% /3) ;/*追加*/
34
32
 
35
33
  float: left;
36
34