Skip to content

Commit 66aafec

Browse files
committed
Add some flexbox mixins
update update up
1 parent 650f254 commit 66aafec

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

lib/web/css/source/lib/_utilities.less

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,32 @@
485485
column-count: @_value;
486486
}
487487

488+
.lib-flex-center() {
489+
align-items: center;
490+
display: flex;
491+
}
492+
493+
.lib-flex-center-center() {
494+
.lib-flex-center();
495+
justify-content: center;
496+
}
497+
498+
.lib-flex-wrap() {
499+
display: flex;
500+
flex-wrap: wrap;
501+
}
502+
503+
.lib-flex-center-wrap() {
504+
.lib-flex-center();
505+
flex-wrap: wrap;
506+
}
507+
508+
.lib-content-flex() {
509+
.lib-flex-wrap ();
510+
align-items: center;
511+
justify-content: space-between;
512+
}
513+
488514
//
489515
// Pointer for popups or dropdowns
490516
// ---------------------------------------------

0 commit comments

Comments
 (0)