[Improvement] Layout: support flex (#1305)
This commit is contained in:
@@ -6,4 +6,36 @@
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
&--flex {
|
||||
display: flex;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&--justify-center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&--justify-end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
&--justify-space-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&--justify-space-around {
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
&--align-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&--align-bottom {
|
||||
align-items: bottom;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user