Skip to content

Instantly share code, notes, and snippets.

@leClou
Created July 14, 2015 14:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leClou/8c7c244d7949b98eb43e to your computer and use it in GitHub Desktop.
Save leClou/8c7c244d7949b98eb43e to your computer and use it in GitHub Desktop.
responsive design hiDPI css
Un exemple de responsive design hiDPI gabarit
/*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