File tree Expand file tree Collapse file tree 1 file changed +46
-9
lines changed Expand file tree Collapse file tree 1 file changed +46
-9
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
.el--3 {
16
16
background-color : green;
17
- /* height: 150px; */
17
+ height : 150px ;
18
18
}
19
19
.el--4 {
20
20
background-color : goldenrod;
33
33
}
34
34
35
35
.container--1 {
36
+ display : none;
36
37
/* STARTER */
37
38
font-family : sans-serif;
38
39
background-color : # ddd ;
39
40
font-size : 30px ;
40
41
margin : 40px ;
41
42
42
43
/* CSS GRID */
43
- display : grid;
44
+ /* display: grid; */
44
45
/* grid-template-columns: 1fr 1fr 1fr auto; */
45
46
/* grid-template-rows: 300px 200px; */
46
47
grid-template-columns : repeat (4 , 1fr );
47
- grid-template-rows : 1fr auto ;
48
- height : 500px ;
48
+ grid-template-rows : 1fr 1 fr ;
49
+ /* height: 500px; */
49
50
50
51
/* gap: 30px; */
51
- column-gap : 10 px ;
52
+ column-gap : 20 px ;
52
53
row-gap : 40px ;
53
54
}
54
55
56
+ .el--8 {
57
+ grid-column : 2 / 3 ;
58
+ /* grid-row: 1 / span 3; */
59
+ grid-row : 1 / 2 ;
60
+ }
61
+
62
+ .el--2 {
63
+ /* grid-column: 1 / span 1;
64
+ grid-row: 2; */
65
+ /* grid-column: 1 / -1; */
66
+ /* grid-row: 2; */
67
+ }
68
+
69
+ .el--6 {
70
+ /* grid-row: 3 / 5; */
71
+ }
72
+
55
73
.container--2 {
56
- display : none;
74
+ /* display: none; */
57
75
/* STARTER */
58
76
font-family : sans-serif;
59
77
background-color : black;
60
78
font-size : 40px ;
61
- margin : 100 px ;
79
+ margin : 40 px ;
62
80
63
- width : 1000 px ;
81
+ width : 700 px ;
64
82
height : 600px ;
65
83
66
84
/* CSS GRID */
85
+ display : grid;
86
+ grid-template-columns : 125px 200px 125px ;
87
+ grid-template-rows : 250px 100px ;
88
+
89
+ gap : 50px ;
90
+
91
+ /* Aligning tracks inside container: distribute empty space */
92
+ justify-content : center;
93
+ /* justify-content: space-between; */
94
+ align-content : center;
95
+
96
+ /* Aligning items INSIDE cells: moving items around inside cells*/
97
+ align-items : end;
98
+ justify-items : end;
99
+ }
100
+
101
+ .el--3 {
102
+ align-self : center;
103
+ justify-self : center;
67
104
}
68
105
</ style >
69
106
</ head >
75
112
< div class ="el el--4 "> (4) are</ div >
76
113
< div class ="el el--5 "> (5) amazing</ div >
77
114
< div class ="el el--6 "> (6) languages</ div >
78
- < div class ="el el--7 "> (7) to</ div >
115
+ <!-- < div class="el el--7">(7) to</div> -- >
79
116
< div class ="el el--8 "> (8) learn</ div >
80
117
</ div >
81
118
You can’t perform that action at this time.
0 commit comments