現在、SVG と PNG フォールバックを使用して別のサイトでスタイルシートを実行しています。
これは網膜画像からも機能しますか?
background: url('/sfdt/mobile/images/template/sfdt-sprite_header-elements.png') -110px 0px / 190px no-repeat;
background: url('/sfdt/mobile/images/template/sfdt-sprite_header-elements@X2.png') -110px 0px / 190px no-repeat;
それとも、このようなメディア クエリを通じてこれを実行するのが最善でしょうか?
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
ありがとう
ダリル