Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @media (orientation: portrait) {
- .width-vmax { width: 100vh }
- .width-vmin { width: 100vw }
- .height-vmax { height: 100vh }
- .height-vmin { height: 100vw }
- }
- @media (orientation: landscape) {
- .width-vmax { width: 100vw }
- .width-vmin { width: 100vh }
- .height-vmax { height: 100vw }
- .height-vmin { height: 100vh }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement