We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44586a6 commit bb4625fCopy full SHA for bb4625f
starter/04-CSS-Layouts/flexbox.html
@@ -40,9 +40,32 @@
40
margin: 40px;
41
display: flex;
42
align-items: center;
43
- justify-content: space-between;
+ justify-content: flex-start;
44
+ gap: 30px;
45
/* FLEXBOX */
46
}
47
+
48
+ /* *!!! Use 'gap' instead */
49
+ /* .el {
50
+ margin-right: 30px;
51
+ } */
52
53
+ .el--1 {
54
+ /* Make this element vertically at the top of the container */
55
+ align-self: flex-start;
56
+ }
57
58
+ .el--5 {
59
+ /* Stretch this element vertically to the same height as the container */
60
+ align-self: stretch;
61
+ /* Move this element to after default position (more than zero) */
62
+ order: 1;
63
64
65
+ .el--6 {
66
+ /* Move this element to before default position (less than zero) */
67
+ order: -1;
68
69
</style>
70
</head>
71
<body>
0 commit comments