MDN self-hosted library · e01.org

Basic shapes with shape-outside

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
shape-outside: circle(50%);
shape-outside: circle(50%) margin-box;
css
.shape {
  shape-outside: circle(50%) border-box;
}
css
.shape {
  float: left;
  shape-outside: inset(20px 10px 20px 10px round 10px);
}
css
.shape {
  float: left;
  shape-outside: inset(20px 10px round 10px);
}