Sabmin Crow Sabmin Crow - 7 months ago 50
CSS Question

Is a shaped iframe possible?

Is it possible to have an iframe in the shape of a hexagon or diamond or anything other than a rectangle or square?

Or possibly even a div?


You could fake it with a CSS mask.

But portions of it will be obscured by it. You can't make the iframe render its contents inside of one of these shapes.