File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed
practice/04 - CSS Layouts Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change 43
43
/* STARTER */
44
44
font-family : sans-serif;
45
45
background-color : # ddd ;
46
- font-size : 34 px ;
46
+ font-size : 32 px ;
47
47
margin : 40px ;
48
48
49
49
/* FLEXBOX */
50
50
display : flex;
51
51
align-items : center;
52
- justify-content : space-between;
52
+ justify-content : flex-start;
53
+ gap : 30px ;
54
+ }
55
+
56
+ .el {
57
+ /*margin-right: 30px;*/
58
+ }
59
+
60
+ .el--1 {
61
+ align-self : flex-start;
62
+ }
63
+
64
+ .el--5 {
65
+ align-self : stretch;
66
+ order : 1 ;
67
+ /* ordering the element. default is 0*/
68
+ }
69
+
70
+ .el--6 {
71
+ order : -1 ; /* ordering the element */
53
72
}
54
73
</ style >
55
74
</ head >
61
80
< div class ="el el--4 "> are</ div >
62
81
< div class ="el el--5 "> amazing</ div >
63
82
< div class ="el el--6 "> languages</ div >
64
- < div class ="el el-- 7 "> to</ div >
65
- < div class ="el el-- 8 "> learn</ div >
83
+ <!-- <div class="el el-- 7">to</div>-- >
84
+ <!-- <div class="el el-- 8">learn</div>-- >
66
85
</ div >
67
86
</ body >
68
87
</ html >
You can’t perform that action at this time.
0 commit comments