julz.dev
← All posts

TIL : images for a border in CSS

View source

I don’t use CSS extremely regularly, so I’m frequently surprised by what’s possible with it. Today’s minor surprise:

border-image-repeat: round;

This tiles an image on a border.

And fortunately it’s available in tailwinds css too


Inline CSS example: border-image-repeat: round;