.img-retina {
background-image: url("img/example-img.jpg");
background-size: 320px 320px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
background-image: url("img/example-img@2x.jpg");
background-size: 320px 320px;
}
Code Example |
---|
Css :: how to slow down hover effect css |
Css :: display none css inline |
Css :: css bottom shadow |
Css :: css content space |
Css :: input autocomplete css color |
Css :: change the color of a checkbox css |
Css :: css flip image horizontally |
Css :: "LeagueFlysystemAwsS3v3AwsS3Adapter" |
Css :: grid direction |
Css :: make text unhighlightable |
Css :: grayscale css |
Css :: how to filter css red |
Css :: css remove blue outline button |
Css :: table fixed header |
Css :: css list elements horizontally |
Css :: css dark filter over image |
Css :: text underline hover css |
Css :: bring element to front css |
Css :: css shadow |
Css :: css smooth text shadow |
Css :: bootstrap badge color |
Css :: position absolute center |
Css :: remove all css styles from element |
Css :: css text justify |
Css :: silver hex code |
Css :: how to make a square div in css |
Css :: css div bottom of parent |
Css :: Css style on particular screen |
Css :: Conditionally loading resources with media queries |
Css :: text glow effect |