Skip to content

v1.5.1 - orientations mixins

Compare
Choose a tag to compare
@rafalbromirski rafalbromirski released this 15 Mar 19:18
· 15 commits to master since this release

I've added two new mixins:

  • landscape()
  • portrait()
# Example:
@include landscape { ... }
@include portrait { ... }

It will be compiled to:

@media screen and (orientation: landscape) { ... }
@media screen and (orientation: portrait) { ... }