DEV Community

Discussion on: Recreating `border-image` with `background-image` for the curious

Collapse
 
jsnkuhn profile image
jsnkuhn

Codepen is now included.

To be fair if the border-image-source begin used is symmetrical you might only need 3 network requests (one for left/right border, one for top/bottom border and one for the corners)... Or with an SVG fragment identifiers could be used on 1 single image. But yes it's still likely much more work then just using border-image proper.