css背景图像属性
In this screencast Russ Weakley shows you how to create high resolution background images including at a 2x and 3x resolution for narrow and wide screens using the webkit-min-device-pixel-ratio
and min-resolution
media queries.
在此截屏视频中, Russ Weakley向您展示了如何使用webkit-min-device-pixel-ratio
和min-resolution
媒体查询为窄屏和宽屏创建高分辨率的背景图像,包括2x和3x分辨率。
View the code sample provided.
查看提供的代码示例 。
Loading the player…
正在加载播放器…
翻译自: https://www.sitepoint.com/watch-creating-high-resolution-background-images-with-css/
css背景图像属性