
上QQ阅读APP看书,第一时间看更新
Wrapping text around rounded images
In this recipe, we will align text around images using default Bootstrap classes with the addition of the shape-outside CSS property. With shape-outside, we can change the shape of a float area for a floated element, from a square into a circle or even a polygon.
For advanced uses of the shape-outside property, check out the Adobe Brackets editor extension at http://brackets.dnbard.com/extension/brackets-css-shapes-editor.