Sha256: 642952252412cd56555680073b0f187ac35516571dd1c2183b856d152ebdea1a
Contents?: true
Size: 561 Bytes
Versions: 2
Compression:
Stored size: 561 Bytes
Contents
// Provides an easy way to include a clearfix for containing floats. // Accepts options of `top`, `bottom` and `both`. @mixin grid-clearfix($clear: bottom) { @if $clear == top or $clear == both { &::before { clear: both; content: ""; display: block; } } @if $clear == bottom or $clear == both { &::after { clear: both; content: ""; display: block; } } @if $clear != top and $clear != bottom and $clear != both { @error "`$clear` was #{$clear} but should be `top`, `bottom`, or `both`"; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cask-0.3.2 | core/mixins/_grid-clearfix.scss |
cask-0.3.1 | core/mixins/_grid-clearfix.scss |