Using SVG as a Border with CSS

Jack Harner 🚀 on August 07, 2018

Have you ever wanted a cooler border than what you can get from stacking border elements? Well fear not, today I'm going to walk you through the bo... [Read Full]
markdown guide

I've learned this trick about 5 years ago and I've waited until last week to find a good reason to use it. Most beautiful day of my life :')


Definitely a rare use case, but I needed to make a chalkboard that scaled based on content layout and screen size, and this was the best way to do that.


Not so rare before border-radius was invented, but at the time border-image didn't exist either, so... Yeah pretty rare.

code of conduct - report abuse