5 ms·
Just curious, why can't the shape be generated from the outline of the image alpha with an offset, rather than having to be generated by hand?
by scoot 12y ago
Just curious, why can't the shape be generated from the outline of the image alpha with an offset, rather than having to be generated by hand?
- fenomas 12y agoThey can: http://dev.w3.org/csswg/css-shapes/#shapes-from-image http://dev.w3.org/csswg/css-shapes/#shapes-from-image But note that this is a general spec for adding shapes to HTML elements. Wrapping text around images is just one of many possible use cases.