SVG Bild-Fallback Cross-browser / CSS ohne JavaScript

SVG Bild-Fallback Cross-browser / CSS ohne JavaScript

background: transparent url(image-fallback.png) center center no-repeat;
background-image: -webkit-linear-gradient(transparent, transparent), url(image-vector.svg);
background-image: linear-gradient(transparent, transparent), url(image-vector.svg);

Codeschnipsel, codesnip, codesnippets, CSS, PNG, SVG


Schreibe einen Kommentar