質問編集履歴
2
cssコードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
###実現したいこと・発生している問題
|
1
|
+
](00e86e81c73dee9dc59731e880b33d43.png)###実現したいこと・発生している問題
|
2
2
|
bootstrapを使って画面幅が544px以上768px未満の時に各要素が画面幅いっぱいになるように、各div要素のクラスに"col-sm-12"を指定してるにも関わらず、適用されません。
|
3
3
|
どこが間違っているのかご指摘よろしくお願いします。
|
4
4
|
|
5
5
|
|
6
6
|
### 該当のソースコード
|
7
7
|
|
8
|
-
```html
|
8
|
+
```html
|
9
9
|
<!<!DOCTYPE html>
|
10
10
|
<html lang="ja">
|
11
11
|
<head>
|
@@ -54,4 +54,88 @@
|
|
54
54
|
</div>
|
55
55
|
</div>
|
56
56
|
<!--以下省略-->
|
57
|
+
```
|
58
|
+
```css
|
59
|
+
body{
|
60
|
+
margin: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* header */
|
64
|
+
|
65
|
+
header .icon{
|
66
|
+
margin: 25px;
|
67
|
+
display: inline;
|
68
|
+
}
|
69
|
+
|
70
|
+
.header-bg{
|
71
|
+
background-image: url(../img/BackgroundHomeSummer.jpg);
|
72
|
+
background-size: cover;
|
73
|
+
|
74
|
+
}
|
75
|
+
|
76
|
+
.header-title{
|
77
|
+
width: 1032px;
|
78
|
+
margin: auto;
|
79
|
+
padding: 200px 0 215px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.header-title h1, .header-title p{
|
83
|
+
color: white;
|
84
|
+
}
|
85
|
+
|
86
|
+
.header-title h1{
|
87
|
+
margin-bottom: 25px;
|
88
|
+
font-weight: bold;
|
89
|
+
}
|
90
|
+
|
91
|
+
.header-title p{
|
92
|
+
margin-bottom: 40px;
|
93
|
+
}
|
94
|
+
|
95
|
+
.header-title a{
|
96
|
+
background-color: white;
|
97
|
+
color: #000;
|
98
|
+
padding: 15px 25px;
|
99
|
+
border-radius: 5px;
|
100
|
+
font-weight: 500;
|
101
|
+
}
|
102
|
+
|
103
|
+
.header-title a:hover{
|
104
|
+
text-decoration: none;
|
105
|
+
}
|
106
|
+
|
107
|
+
/* section */
|
108
|
+
.section-title h1{
|
109
|
+
font-size: 30px;
|
110
|
+
width: 350px;
|
111
|
+
margin: 60px auto;
|
112
|
+
font-weight: bold;
|
113
|
+
}
|
114
|
+
|
115
|
+
.row h2{
|
116
|
+
font-size: 16px;
|
117
|
+
font-weight: bold;
|
118
|
+
margin: 30px auto;
|
119
|
+
}
|
120
|
+
|
121
|
+
.row p{
|
122
|
+
color: gray;
|
123
|
+
}
|
124
|
+
|
125
|
+
.section-title{
|
126
|
+
margin-top: 45px;
|
127
|
+
}
|
128
|
+
section i{
|
129
|
+
display: block;
|
130
|
+
}
|
131
|
+
|
132
|
+
section .icon-color{
|
133
|
+
color: #007a87;
|
134
|
+
}
|
135
|
+
|
136
|
+
section .row{
|
137
|
+
text-align: center;
|
138
|
+
}
|
139
|
+
|
140
|
+
|
57
141
|
```
|
1
画像の挿入
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
###実現したいこと・発生している問題
|
1
|
+
###実現したいこと・発生している問題
|
2
2
|
bootstrapを使って画面幅が544px以上768px未満の時に各要素が画面幅いっぱいになるように、各div要素のクラスに"col-sm-12"を指定してるにも関わらず、適用されません。
|
3
3
|
どこが間違っているのかご指摘よろしくお願いします。
|
4
4
|
|