Created
August 12, 2015 12:14
-
-
Save Razenbull/0a27fc3e3eed315d6b77 to your computer and use it in GitHub Desktop.
Mixin to make an element take the full width and height relative to its first positioned parent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Mixin to make an element take the full width and height relative to its first positioned parent | |
* | |
* @params none | |
* | |
* @use @include make-block-full; | |
* | |
*/ | |
@mixin make-block-full() { | |
display: block; | |
width: 100%; | |
height: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment