Write SVG: a PostCSS plugin
Here’s a cool PostCSS plugin that lets us write SVG directly in CSS with the rest of our styles:
.arrow {
@svg {
polygon {
fill: green;
points: 50,100 0,0 0,100;
}
}
}
These values will then be converted …