Flattening SVGs (and the Undead)

When exporting an SVG from a graphics editing platform try setting it to flatten zombies… errr… I mean flatten transforms. This may lead to an initially larger file, but once optimized with svgomg or svgo it may end up being much, much smaller. Plus editing or animating parts of the SVG file later will be... Read More

SVG Compression and the Undead

Like a limbless zombie, SVG paths are almost always the most compact form of drawing in SVG and optimizers will typically turn other elements into paths to make the SVG smaller. However, they can only optimize what’s already there. If your graphics program converted a drop-shadow into an image (a common though unnecessary step), they... Read More

CSS and SVG Transforms

Like an equal caliber measured in mm vs one measured in inches, CSS transforms and SVG transforms are the same. They do the same thing. Work the same way. And you can continue or modify a transform from the SVG in your css. However, their syntax is slightly different e.g. SVG transforms use commas to... Read More

The SVG Stack

SVG stacks elements farthest from the viewer to closer to the viewer so the elements at the top of the file/element are at the back of the horde and elements at the bottom of the file are chomping on your face.... Read More