May 26, 2014

CSS Shapes 101 · An A List Apart Article

Future levels of CSS Shapes will focus on wrapping content inside a shape as well. For example, today it’s easy to create a rhombic shape in CSS: just rotate the element by 45 degrees, and then rotate the content inside it back so that it lies horizontally on the page. But the content inside the rhombus won’t be affected by the rhombic shape of its container, and will always remain rectangular. When the CSS Shapes shape-inside property is implemented, we will be able to make the content also become rhombic, making layouts like the one shown in the following image very much possible.


Previous post
Code for America Style Guide via: Code for America Style Guide
Next post
Filament Group open source code Some potentially useful stuff here