Skip to content

Commit

Permalink
Added Viewport Height & Width helpers
Browse files Browse the repository at this point in the history
This allows the user to make a container (ideally) to use viewport height and width and allow better vertical/horizontal alignments of elements.
  • Loading branch information
ItaloBC authored and XhmikosR committed Oct 23, 2018
1 parent 1c91f48 commit 557f3fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scss/utilities/_sizing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@

.mw-100 { max-width: 100% !important; }
.mh-100 { max-height: 100% !important; }

// Viewport additional helpers

.min-vw-100 { min-width: 100vw !important; }
.min-vh-100 { min-height: 100vh !important; }

.vw-100 { width: 100vw !important; }
.vh-100 { height: 100vh !important; }

0 comments on commit 557f3fe

Please sign in to comment.