1 2 3 |
< img src = "foo-lores.jpg"
srcset = "foo-hires.jpg 2x, foo-superduperhires.jpg 6.5x"
alt = "decent alt text for foo." >
|
1 2 3 4 |
selector {
background: image-set(url(foo-lowres.png) 1x,
url(foo-highres.png) 2x) center;
}
|
热门源码