回答編集履歴

2

修正

2019/06/08 02:57

投稿

s8_chu
s8_chu

スコア14731

test CHANGED
@@ -92,9 +92,9 @@
92
92
 
93
93
  position: fixed;
94
94
 
95
- left: 0;
95
+ left: 0; /* 追加 */
96
96
 
97
- right: 0;
97
+ right: 0; /* 追加 */
98
98
 
99
99
  }
100
100
 

1

修正

2019/06/08 02:57

投稿

s8_chu
s8_chu

スコア14731

test CHANGED
@@ -2,19 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- > ## [§ 8.1. The width of absolute or fixed positioned, non-replaced elements](https://www.w3.org/TR/css-position-3/#abs-non-replaced-width)
5
+ > ### [§ 8.1. The width of absolute or fixed positioned, non-replaced elements](https://www.w3.org/TR/css-position-3/#abs-non-replaced-width)
6
6
 
7
7
 
8
8
 
9
9
  > If all three of left, width, and right are auto: First set any auto values for margin-left and margin-right to 0. Then, if the direction property of the element establishing the static-position containing block is ltr set left to the static position and apply rule number three below; otherwise, set right to the static-position and apply rule number one below.
10
-
11
- >
12
-
13
- >
14
-
15
- > 1. If left and width are auto and right is not auto, then the width is shrink-to-fit. Then solve for left.
16
-
17
-
18
10
 
19
11
 
20
12