与背景图像一起使用(Use with Background Images)

优质
小牛编辑
128浏览
2023-12-01

描述 (Description)

在SASS中的$breakpoints变量中,您可以定义任何断点以及几个关键字。 它支持作为完整CSS媒体查询的命名查询的简写。

您可以包含自己的命名媒体查询,并可以将它们作为属性添加到Foundation.Interchange.SPECIAL_QUERIES

Foundation.Interchange.SPECIAL_QUERIES['square'] = 'screen and (aspect-ratio: 1/1)';

Sr.No.查询名称媒体查询
1small
screen and (min-width: 0em)
2medium
only screen and (min-width: 40em)
3large
only screen and (min-width: 64em)
4xlarge
only screen and (min-width: 75em)
5xxlarge
only screen and (min-width: 90em)
6portrait
screen and (orientation: portrait)
7landscape
screen and (orientation: landscape)
8retina
only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)