4 ms·
Perhaps CSS3's image border property would allow that? (I don't know how widespread browser support is for that yet) http://www.w3.org/TR/css3-background/#the-
by lupin_sansei 19y ago
Perhaps CSS3's image border property would allow that? (I don't know how widespread browser support is for that yet)
http://www.w3.org/TR/css3-background/#the-border-image http://www.w3.org/TR/css3-background/#the-border-image
- ed 19y agoThat crossed my mind but according to the CSS3 spec the border edges are supposed to be flat, and not diagonal (which is what makes this hack so efficient). This could end up being implementation-specific but ATM probably wouldn't provide the solution (it also doesn't yield a way to do perspective transforms on an image).