質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -192,64 +192,52 @@
|
|
192
192
|
|
193
193
|
```css
|
194
194
|
|
195
|
+
|
196
|
+
|
197
|
+
.fixed01,
|
198
|
+
|
199
|
+
.fixed02{
|
200
|
+
|
201
|
+
position: sticky;
|
202
|
+
|
195
|
-
t
|
203
|
+
top: 0;
|
204
|
+
|
196
|
-
|
205
|
+
left: 0;
|
206
|
+
|
207
|
+
color: #fff;
|
208
|
+
|
209
|
+
background: #333;
|
210
|
+
|
211
|
+
&:before{
|
212
|
+
|
213
|
+
content: "";
|
214
|
+
|
215
|
+
position: absolute;
|
216
|
+
|
217
|
+
top: -1px;
|
218
|
+
|
219
|
+
left: -1px;
|
220
|
+
|
197
|
-
width:
|
221
|
+
width: 100%;
|
198
|
-
|
222
|
+
|
199
|
-
height: 100
|
223
|
+
height: 100%;
|
200
|
-
|
201
|
-
|
224
|
+
|
202
|
-
|
203
|
-
padding: 0 15px;
|
204
|
-
|
205
|
-
border: 1px solid #ccc;
|
225
|
+
border: 1px solid #ccc;
|
226
|
+
|
227
|
+
}
|
206
228
|
|
207
229
|
}
|
208
230
|
|
209
|
-
.fixed01
|
231
|
+
.fixed01{
|
232
|
+
|
233
|
+
z-index: 2;
|
234
|
+
|
235
|
+
}
|
210
236
|
|
211
237
|
.fixed02{
|
212
238
|
|
213
|
-
position: sticky;
|
214
|
-
|
215
|
-
top: 0;
|
216
|
-
|
217
|
-
left: 0;
|
218
|
-
|
219
|
-
color: #fff;
|
220
|
-
|
221
|
-
background: #333;
|
222
|
-
|
223
|
-
&:before{
|
224
|
-
|
225
|
-
content: "";
|
226
|
-
|
227
|
-
position: absolute;
|
228
|
-
|
229
|
-
top: -1px;
|
230
|
-
|
231
|
-
left: -1px;
|
232
|
-
|
233
|
-
|
239
|
+
z-index: 1;
|
234
|
-
|
235
|
-
height: 100%;
|
236
|
-
|
237
|
-
border: 1px solid #ccc;
|
238
|
-
|
239
|
-
}
|
240
240
|
|
241
241
|
}
|
242
242
|
|
243
|
-
.fixed01{
|
244
|
-
|
245
|
-
z-index: 2;
|
246
|
-
|
247
|
-
}
|
248
|
-
|
249
|
-
.fixed02{
|
250
|
-
|
251
|
-
z-index: 1;
|
252
|
-
|
253
|
-
}
|
254
|
-
|
255
243
|
```
|