Skip to content

Instantly share code, notes, and snippets.

@0632347878
Created September 27, 2018 07:15
Show Gist options
  • Save 0632347878/2d14554b3e413259cbfb3ece4a8799e8 to your computer and use it in GitHub Desktop.
Save 0632347878/2d14554b3e413259cbfb3ece4a8799e8 to your computer and use it in GitHub Desktop.
CSS
@media all and (-webkit-min-device-pixel-ratio : 1.5),
all and (-o-min-device-pixel-ratio: 3/2),
all and (min--moz-device-pixel-ratio: 1.5),
all and (min-device-pixel-ratio: 1.5) {
//div.background {
// background-image: url(./images/[email protected]);
// background-size: 200px 200px;
//}
}
<img
class="list-portfolio__item-img"
sizes="(max-width: 1440px) 1440w"
srcset=
"img/buyandprint1.svg 1440w,
img/buyandprint1m.svg 600w"
src="img/buyandprint1.svg"
alt="yaposhka">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment