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.
23 lines
379 B
23 lines
379 B
8 years ago
|
@charset "UTF-8";
|
||
|
|
||
|
/// Forces the element to fill its parent container.
|
||
|
///
|
||
|
/// @example scss - Usage
|
||
|
/// .element {
|
||
|
/// @include fill-parent;
|
||
|
/// }
|
||
|
///
|
||
|
/// @example css - CSS Output
|
||
|
/// .element {
|
||
|
/// width: 100%;
|
||
|
/// box-sizing: border-box;
|
||
|
/// }
|
||
|
|
||
|
@mixin fill-parent() {
|
||
|
width: 100%;
|
||
|
|
||
|
@if $border-box-sizing == false {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
}
|