Skip to content

Instantly share code, notes, and snippets.

@Razenbull
Created August 12, 2015 12:14
Show Gist options
  • Save Razenbull/0a27fc3e3eed315d6b77 to your computer and use it in GitHub Desktop.
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
/**
*
* 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