File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
practice/04 - CSS Layouts Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 50
50
display : flex;
51
51
align-items : center;
52
52
justify-content : flex-start;
53
- gap : 30 px ;
53
+ gap : 10 px ;
54
54
}
55
55
56
56
.el {
57
- /*margin-right: 30px;*/
57
+ /*
58
+ DEFAULTS
59
+ flex-grow: 0;
60
+ flex-shrink: 1;
61
+ flex-basis: auto;
62
+ */
63
+
64
+ /*flex-grow: 1; !* allow flex to grow *!*/
65
+ /*flex-shrink: 0; !* allow to shrink ele when required *!*/
66
+ /*flex-basis: 200px; !* specifies the with of flex items*!*/
67
+ flex : 1 ;
58
68
}
59
69
60
70
.el--1 {
61
71
align-self : flex-start;
72
+ flex-grow : 1 ;
62
73
}
63
74
64
75
.el--5 {
65
76
align-self : stretch;
66
- order : 1 ;
77
+ order : 2 ;
67
78
/* ordering the element. default is 0*/
68
79
}
69
80
79
90
< div class ="el el--3 "> CSS</ div >
80
91
< div class ="el el--4 "> are</ div >
81
92
< div class ="el el--5 "> amazing</ div >
82
- < div class ="el el-- 6 "> languages</ div >
93
+ <!-- <div class="el el-- 6">languages</div>-- >
83
94
<!-- <div class="el el--7">to</div>-->
84
95
<!-- <div class="el el--8">learn</div>-->
85
96
</ div >
You can’t perform that action at this time.
0 commit comments