File tree 1 file changed +32
-32
lines changed
css/css-grid/grid-items/support
1 file changed +32
-32
lines changed Original file line number Diff line number Diff line change 1
- .grid {
2
- display : grid;
3
- width : 100% ;
4
- grid-template-columns : 100px ;
5
- grid-template-rows : 100px ;
6
- }
7
- .container {
8
- position : relative;
9
- grid-area : 1 / 1 ;
10
- }
11
- .box1 {
12
- position : absolute;
13
- width : 100px ;
14
- height : 100px ;
15
- grid-area : 1 / 1 ;
16
- }
17
- .box-abspos {
18
- position : absolute;
19
- width : 100% ;
20
- height : 100% ;
21
- }
22
- .box-fixpos {
23
- position : fixed;
24
- width : 100px ;
25
- height : 100px ;
26
- }
27
- .red {
28
- background : red;
29
- }
30
- .green {
31
- background : green;
32
- }
1
+ .grid {
2
+ display : grid;
3
+ width : 100% ;
4
+ grid-template-columns : 100px ;
5
+ grid-template-rows : 100px ;
6
+ }
7
+ .container {
8
+ position : relative;
9
+ grid-area : 1 / 1 ;
10
+ }
11
+ .box1 {
12
+ position : absolute;
13
+ width : 100px ;
14
+ height : 100px ;
15
+ grid-area : 1 / 1 ;
16
+ }
17
+ .box-abspos {
18
+ position : absolute;
19
+ width : 100% ;
20
+ height : 100% ;
21
+ }
22
+ .box-fixpos {
23
+ position : fixed;
24
+ width : 100px ;
25
+ height : 100px ;
26
+ }
27
+ .red {
28
+ background : red;
29
+ }
30
+ .green {
31
+ background : green;
32
+ }
You can’t perform that action at this time.
0 commit comments