W3C

Bert Bos & Eva Kasal | CSS3 in Style

Shapes

Two kinds of shapes:

Kinds of shapes

Note: no shapes yet that grow with the content

Shaping an image

<img id="panorama" src="panorama.jpg" alt="">

The exclusion zone can be defined with a polygon.

#panorama {
 position: absolute;
 wrap-flow: both;
 shape-outside:
 polygon(0px, 440px 62px, 481px...)
}

Exclusions – wrapping rules

The wrap-flow property:

Exclusions & shapes – prototypes

Exclusions:

Shapes:

AltStyle によって変換されたページ (->オリジナル) /