A straightforward way to create a shape is to use a value from the CSS Box Model module. This article explains how to do this.
The <box-edge> box values allowable as a shape value are:
content-boxpadding-boxborder-boxmargin-box
The border-radius values are also supported. This means you can give an element a curved border, and flow your content around the created shape.