获得徽章 0
赞了这篇沸点
每日有感:

关于css的image-set
div {
background-image: image-set( "test.png" 1x, "test-2x.png" 2x, "test-print.png" 600dpi );
}

上述代码将会为普通屏幕使用 test.png,为高分屏使用 test-2x.png,如果更高的分辨率则使用 test-print.png,比如印刷。

😝
展开
评论
赞了这篇文章
马上就改 @宠喵
·
3年前

EventBus事件通信

代码注意事项使用场景...
评论
关注了
ConardLi
VIP.3 渐入佳境
关注了标签 Redux Redux
关注了
Chokcoco
VIP.5 如鱼得水
关注了标签 Chrome Chrome
关注了标签 Google Google
关注了标签 全栈 全栈
关注了标签 微信 微信
下一页