Media-Query-Snippets可以通过快捷方式自动生成各种类型的css 媒体查询代码,使用屏幕类型有:
- Desktop/Laptop
- Ipad (general)
- Ipad Landscape
- Ipad Portrait
- Smartphone (general)
- Iphone 4 (retina)
- Smartphone Portrait
- Smartphone Landscape
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
${1:/* Styles */}
}
安装:通过package control来安装:搜索Media-Query-Snippets。