DEV Community

loading...

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

Collapse
jsnkuhn profile image
jsnkuhn Author

The point is to show the absurdity of people's constant reaction to use of border-image with "why not just use background"

Collapse
afif profile image
Temani Afif

there is no absurdity. Each method has its use cases and you are not demonstrating anything by using a generic code. Better give a real example with a real image if you want to highlight a fact or to compare between both method.

Both code provided aren't equivalent at all.