8000 csswg-drafts/css-shapes/Overview.src.html at 46de5436b06c2556b985dbcb3431e958e60837dd · w3c/csswg-drafts · GitHub
Skip to content
8000

Latest commit

 

History

History
1126 lines (962 loc) · 33.7 KB

File metadata and controls

1126 lines (962 loc) · 33.7 KB
<div class="example">
A 'shape-margin' creating an offset from a polygonal 'shape-outside'. The lighter blue area shows the shape in a 100x100px float, and the darker blue area shows the 10px offset.
<pre>
<code>
.float {
shape-outside: polygon(10px 10px, 90px 50px, 40px 50px, 90px 90px, 10px 90px);
shape-margin: 10px;
}
</code>
</pre>