UNPKG

twindy

Version:

CSS Framework written in Stylus inspired by Tailwind and NIB

49 lines (38 loc) 643 B
@require "../mixins/base.styl"; tw-layout() { if __tw_once("layout") { .stack-x { use: stack-x; } .stack-y { use: stack-y; } .space-x { use: space-x; } .space-y { use: space-y; } .center, .centered { use: stack-item-center; } .scroll, .scollable { use: stack-item-scroll; contain: content; } .space, .grow { flex: auto !important; overflow: hidden !important; } .fixed-space { width: 24; } .gap { // use: space-x(); // use: space-y(); } .divider { // use: divider; } } }