-
-
Save plora/db48022ab254b3b5e2fb to your computer and use it in GitHub Desktop.
ST3-hidpi-Snippet Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[/* CSS3 미디워쿼리 활용 - 레티나 디스플레이 대응 */ | |
/* | |
* 고해상도 디스플레이(@${1:2}x) | |
*/ | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: ${1:2}) and (${2:min-width: 320px}), | |
only screen and ( min--moz-device-pixel-ratio: ${1:2}) and (${2:min-width: 320px}), | |
only screen and ( -o-min-device-pixel-ratio: ${1:2}/1) and (${2:min-width: 320px}), | |
only screen and ( min-device-pixel-ratio: ${1:2}) and (${2:min-width: 320px}), | |
only screen and ( min-resolution: 96*${1:2}dpi) and (${2:min-width: 320px}), | |
only screen and ( min-resolution: ${1:2}dppx) and (${2:min-width: 320px}) { | |
$3 | |
} | |
$0]]></content> | |
<tabTrigger>hidpi/</tabTrigger> | |
<scope>source.css</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment