回答編集履歴
2
少し変更
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
[サンプル](https://jsfiddle.net/Lhankor_Mhy/sbvua6Lz/
|
33
|
+
[サンプル](https://jsfiddle.net/Lhankor_Mhy/sbvua6Lz/2/)
|
34
34
|
|
35
35
|
|
36
36
|
|
@@ -39,6 +39,8 @@
|
|
39
39
|
.header {
|
40
40
|
|
41
41
|
position: fixed;
|
42
|
+
|
43
|
+
width: 100%;
|
42
44
|
|
43
45
|
}
|
44
46
|
|
1
質問の変更に合わせて追記
test
CHANGED
@@ -23,3 +23,29 @@
|
|
23
23
|
}
|
24
24
|
|
25
25
|
```
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
# 質問の変更に合わせて追記
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
[サンプル](https://jsfiddle.net/Lhankor_Mhy/sbvua6Lz/1/)
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```css
|
38
|
+
|
39
|
+
.header {
|
40
|
+
|
41
|
+
position: fixed;
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
li{
|
46
|
+
|
47
|
+
display: contents;
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
```
|