Add reset-float mixin to reset the cross browser float mixins.
This commit is contained in:
parent
8a8ef87e48
commit
9b0967eb47
@ -13,3 +13,18 @@
|
||||
@mixin float($side: left) {
|
||||
display: inline;
|
||||
float: unquote($side); }
|
||||
|
||||
// Resets floated elements back to their default of `float: none` and defaults
|
||||
// to `display: block` unless you pass `inline` as an argument
|
||||
//
|
||||
// Usage Example:
|
||||
//
|
||||
// body.homepage
|
||||
// #footer li
|
||||
// +float-left
|
||||
// body.signup
|
||||
// #footer li
|
||||
// +reset-float
|
||||
@mixin reset-float($display: block) {
|
||||
float: none;
|
||||
display: $display; }
|
Loading…
Reference in New Issue
Block a user