File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed
practice/04 - CSS Layouts Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 15
15
16
16
.el--3 {
17
17
background-color : green;
18
- /* height: 150px;*/
18
+ height : 150px ;
19
19
}
20
20
21
21
.el--4 {
50
50
/*grid-template-columns: 1fr 1fr 1fr auto;*/
51
51
grid-template-columns : repeat (4 , 1fr );
52
52
/*grid-template-rows: 300px 200px;*/
53
- grid-template-rows : 1fr auto ;
53
+ grid-template-rows : 1fr 1 fr ;
54
54
55
55
/*gap: 10px;*/
56
- column-gap : 10px ;
57
- row-gap : 20px ;
58
- height : 500px ;
56
+ column-gap : 20px ;
57
+ row-gap : 30px ;
58
+ }
59
+
60
+ .el--8 {
61
+ grid-column : 2 / 3 ;
62
+ grid-row : 1 ;
63
+ }
64
+
65
+ .el--2 {
66
+ /*grid-column: 1 / 4;*/
67
+ /*grid-column: 1 / span 4;*/
68
+ grid-column : 1 / -1 ; /* span all the way to end */
69
+ grid-row : 2 ;
70
+ }
71
+
72
+ .el--6 {
73
+ grid-row : 3 / 6 ;
59
74
}
60
75
61
76
.container--2 {
82
97
< div class ="el el--4 "> (4) are</ div >
83
98
< div class ="el el--5 "> (5) amazing</ div >
84
99
< div class ="el el--6 "> (6) languages</ div >
85
- < div class ="el el-- 7 "> (7) to</ div >
100
+ <!-- < div class="el el-- 7">(7) to</div>-- >
86
101
< div class ="el el--8 "> (8) learn</ div >
87
102
</ div >
88
103
You can’t perform that action at this time.
0 commit comments