re: Using SVG as a Border with CSS VIEW POST


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