Created
July 14, 2015 14:56
-
-
Save leClou/8c7c244d7949b98eb43e to your computer and use it in GitHub Desktop.
responsive design hiDPI css
This file contains hidden or 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
Un exemple de responsive design hiDPI gabarit |
This file contains hidden or 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
/*responsive design hiDPI*/ | |
@media only screen and (-webkit-min-device-pixel-ratio: 1.3),only screen and (-o-min-device-pixel-ratio: 13/10),only screen and (min-resolution: 240dpi){ | |
@media screen and (min-width: 1024px) { | |
#hockey2{ | |
font-size:1.2em !important; | |
} | |
} | |
@media screen and (min-width: 1050px) { | |
#p{ | |
display:block !important; | |
} | |
#aside{ | |
margin-top:150px !important; | |
} | |
#hockey2{ | |
top:153px; | |
} | |
body{ | |
font-size:1.1em; | |
} | |
} | |
@media screen and (min-width: 1280px) { | |
#hockey2{ | |
font-size:1em !important; | |
} | |
} | |
@media screen and (min-width: 1440px) { | |
#hockey2{ | |
font-size:1.2em !important; | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment