Categories
CSS HTML SVG

Using SVG Images as CSS Masks

A really neat way to break out of the boxiness that is a default condition of CSS is to use images that appear non-rectangular. It’s very common, for example, to see images rounded with CSS. Assuming that the image has equal height and width, this code will make it perfectly round: Another interesting thing you […]