Last active
December 18, 2015 17:59
-
-
Save matthew-andrews/5822423 to your computer and use it in GitHub Desktop.
@extend-able SASS placeholder selectors for filling position:relative'd containers.
This file contains 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
%absolute { | |
position: absolute; | |
} | |
%absolute-fill-width { | |
@extend %absolute; | |
left: 0; | |
right: 0; | |
} | |
%absolute-fill-height { | |
@extend %absolute; | |
top: 0; | |
bottom: 0; | |
} | |
%absolute-fill { | |
@extend %absolute-fill-width; | |
@extend %absolute-fill-height; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment