.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 :: media query |
Css :: move to right css |
Css :: borders for tables in html/css |
Css :: how to do a background blur in css |
Css :: scroll-behavior not working |
Css :: css centrar imagen |
Css :: remove scrollbar css |
Css :: remove hover effect css |
Css :: css circle |
Css :: swiper slider autoplay |
Css :: import fontawesome |
Css :: italic text css |
Css :: import css in thymeleaf |
Css :: css cursor pointer hover |
Css :: div scrollable content |
Css :: css hide scroll |
Css :: linear-gradient(top to bottom) |
Css :: how to wrap text in div css |
Css :: antd css import |
Css :: christmas red color code |
Css :: transition scale |
Css :: highlight table row on hover |
Css :: hide scrolbar tailwind |
Css :: puntos suspensivos css |
Css :: How to prevent anchor links from scrolling behind a sticky header with one line of CSS |
Css :: css p tag text wrap |
Css :: rust get current date |
Css :: To make the datetime always LTR |
Css :: onclick url |
Css :: send mails from lampp form localhost |