Mercurial > nebulaweb3
view default/assets/scss/vendors/bourbon/library/_clearfix.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
line wrap: on
line source
@charset "UTF-8"; /// Provides an easy way to include a clearfix for containing floats. /// /// @link http://goo.gl/yP5hiZ /// /// @example scss /// .element { /// @include clearfix; /// } /// /// // CSS Output /// .element::after { /// clear: both; /// content: ""; /// display: block; /// } @mixin clearfix { &::after { clear: both; content: ""; display: block; } }