Sha256: eb06f6703bca379a0402728be2bcb233fc326b827bf036752c8d8b1482bac1e4
Contents?: true
Size: 695 Bytes
Versions: 5
Compression:
Stored size: 695 Bytes
Contents
// Global Box Sizing // ================= // Global Box Sizing // ----------------- // Set a box model globally on all elements. // - [$box]: border-box | content-box @mixin global-box-sizing( $box: susy-get(global-box-sizing) ) { *, *::before, *::after { @include output((box-sizing: $box)); } @include update-box-model($box); } // Border Box Sizing // ----------------- // A legacy shortcut... @mixin border-box-sizing { @include global-box-sizing(border-box); } // Update Box Model // ---------------- // PRIVATE: Updates global box model setting @mixin update-box-model( $box ) { @if $box != susy-get(global-box-sizing) { @include susy-set(global-box-sizing, $box); } }
Version data entries
5 entries across 5 versions & 1 rubygems