public marks

PUBLIC MARKS from decembre with tags svg & fill

12 April 2017 08:15

CSS - SVG - fill | CSS-Tricks

Another Use Case: The fill property is one of many reasons SVG is a much more flexible option than typical image files. Let's take icons, as an example. We might have the same set of icons but in two different color schemes. Typical image files (such as JPG, PNG and GIF) would require us to make two versions of each icon — one for each color scheme. SVG, on the other hand, allows us to paint the icons in using the CSS fill property: .icon { fill: black; } .icon-secondary { fill: orange; }

decembre's TAGS related to tag svg

@font-face +   @import +   ai +   ajax +   api +   application +   art +   backgound-image +   background-image +   cdn +   convert +   convertir +   css +   css-tricks +   datauri +   demo +   design +   dev +   development +   dom +   download +   event +   fill +   Flash Of Unstyled Text +   font +   Font Service +   fout +   free +   google font +   html +   icon +   image +   javascript +   line +   namespace +   node +   o +   online +   online tool +   open type +   otf +   png +   psd +   reference +   Scalable Vector Grafic +   script +   stylesheet +   tool +   trick +   truetype +   ttf +   tutorial +   tutoriel +   uri +   utilitaire +   w3c +   web +   wikipedia +   woff +   WOFF2 +   xhtml +   xul +