Search code examples
breakpoint-sass

Breakpoint on Width OR Height


I recently found this answer on SO, and was wondering if there is a syntax to accomplish this with breakpoint-sass plugin? Thanks.

EDIT (since there was confusion):

Have a breakpoint dependent on height and width, similar to this media query from the posted question.

@media screen and (max-width: 995px) , screen and (max-height: 700px) {
  ...
}

Solution

  • Breakpoint allows for media breakpoint and or breakpoints, so constructing this MQ is fairly straight forward:

    http://sassmeister.com/gist/3b7127ded8e032d90f4d