UNPKG

basscss-addons

Version:

Optional modules to extend Basscss

30 lines (21 loc) 649 B
.flex { display: flex } .flex-column { flex-direction: column } .flex-wrap { flex-wrap: wrap } .flex-center { align-items: center } .flex-baseline { align-items: baseline } .flex-stretch { align-items: stretch } .flex-start { align-items: flex-start } .flex-end { align-items: flex-end } .flex-justify { justify-content: space-between } /* * 1. Fix for Chrome 44 bug. https://code.google.com/p/chromium/issues/detail?id=506893 */ .flex-auto { flex: 1 1 auto; min-width: 0; /* 1 */ min-height: 0; /* 1 */ } .flex-grow { flex: 1 0 auto } .flex-none { flex: none } .flex-first { order: -1 } .flex-last { order: 99999 }