質問編集履歴
1
コンパイル後のCSS追加、その他修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<section>
|
58
58
|
|
59
|
-
<img src="" alt="" />
|
59
|
+
<img src="img/1.png" alt="1" />
|
60
60
|
|
61
61
|
<h1>title1</h1>
|
62
62
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
<section>
|
74
74
|
|
75
|
-
<img src="" alt="" />
|
75
|
+
<img src="img/2.png" alt="2" />
|
76
76
|
|
77
77
|
<h1>title2</h1>
|
78
78
|
|
@@ -88,7 +88,7 @@
|
|
88
88
|
|
89
89
|
<section>
|
90
90
|
|
91
|
-
<img src="" alt="" />
|
91
|
+
<img src="img/3.png" alt="3" />
|
92
92
|
|
93
93
|
<h1>title3</h1>
|
94
94
|
|
@@ -110,52 +110,122 @@
|
|
110
110
|
|
111
111
|
|
112
112
|
|
113
|
+
```scss
|
114
|
+
|
115
|
+
//sass入れてます
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
.box {
|
120
|
+
|
121
|
+
display: block;
|
122
|
+
|
123
|
+
margin: auto;
|
124
|
+
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
@mixin hero-p {
|
130
|
+
|
131
|
+
width: 332px;
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
@mixin hero-i {
|
136
|
+
|
137
|
+
height: 255px;
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
#hero {
|
142
|
+
|
143
|
+
display: flex;
|
144
|
+
|
145
|
+
display: -webkit-flex;
|
146
|
+
|
147
|
+
justify-content: space-around;
|
148
|
+
|
149
|
+
text-align: center;
|
150
|
+
|
151
|
+
h1,p {
|
152
|
+
|
153
|
+
flex: none;
|
154
|
+
|
155
|
+
@include hero-p;
|
156
|
+
|
157
|
+
text-align: left;
|
158
|
+
|
159
|
+
}
|
160
|
+
|
161
|
+
h1 {
|
162
|
+
|
163
|
+
font-size: 15px;
|
164
|
+
|
165
|
+
}
|
166
|
+
|
167
|
+
p {
|
168
|
+
|
169
|
+
font-size: 12px;
|
170
|
+
|
171
|
+
line-height: 17px;
|
172
|
+
|
173
|
+
}
|
174
|
+
|
175
|
+
img {
|
176
|
+
|
177
|
+
@include hero-i;
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
}
|
182
|
+
|
183
|
+
```
|
184
|
+
|
185
|
+
|
186
|
+
|
113
187
|
```css
|
114
188
|
|
115
|
-
//sass入れてます
|
116
|
-
|
117
|
-
|
118
|
-
|
119
189
|
.box {
|
120
190
|
|
121
191
|
display: block;
|
122
192
|
|
123
|
-
margin: auto;
|
193
|
+
margin: auto; }
|
124
|
-
|
194
|
+
|
195
|
+
|
196
|
+
|
125
|
-
|
197
|
+
#hero {
|
198
|
+
|
126
|
-
|
199
|
+
display: flex;
|
200
|
+
|
127
|
-
|
201
|
+
display: -webkit-flex;
|
202
|
+
|
128
|
-
|
203
|
+
justify-content: space-around;
|
204
|
+
|
205
|
+
text-align: center; }
|
206
|
+
|
129
|
-
|
207
|
+
#hero h1, #hero p {
|
208
|
+
|
130
|
-
|
209
|
+
flex: none;
|
210
|
+
|
131
|
-
width: 332px;
|
211
|
+
width: 332px;
|
132
|
-
|
133
|
-
|
212
|
+
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
#hero {
|
138
|
-
|
139
|
-
display: flex;
|
140
|
-
|
141
|
-
display: -webkit-flex;
|
142
|
-
|
143
|
-
justify-content: space-around;
|
144
|
-
|
145
|
-
text-align: center;
|
146
|
-
|
147
|
-
h1,p {
|
148
|
-
|
149
|
-
flex: none;
|
150
|
-
|
151
|
-
@include hero-p;
|
152
|
-
|
153
|
-
|
213
|
+
text-align: left; }
|
214
|
+
|
154
|
-
|
215
|
+
#hero h1 {
|
216
|
+
|
217
|
+
font-size: 15px; }
|
218
|
+
|
219
|
+
#hero p {
|
220
|
+
|
221
|
+
font-size: 12px;
|
222
|
+
|
223
|
+
line-height: 17px; }
|
224
|
+
|
225
|
+
#hero img {
|
226
|
+
|
155
|
-
}
|
227
|
+
height: 255px; }
|
156
228
|
|
157
229
|
```
|
158
230
|
|
159
|
-
|
160
|
-
|
161
231
|
よろしくお願いします。
|