You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
456 B
26 lines
456 B
8 years ago
|
@charset "UTF-8";
|
||
|
|
||
|
/// Provides an easy way to include a clearfix for containing floats.
|
||
|
///
|
||
|
/// @link http://cssmojo.com/latest_new_clearfix_so_far/
|
||
|
///
|
||
|
/// @example scss - Usage
|
||
|
/// .element {
|
||
|
/// @include clearfix;
|
||
|
/// }
|
||
|
///
|
||
|
/// @example css - CSS Output
|
||
|
/// .element::after {
|
||
|
/// clear: both;
|
||
|
/// content: "";
|
||
|
/// display: table;
|
||
|
/// }
|
||
|
|
||
|
@mixin clearfix {
|
||
|
&::after {
|
||
|
clear: both;
|
||
|
content: "";
|
||
|
display: table;
|
||
|
}
|
||
|
}
|