Web Platform Team Blog

Making the web awesome

Growing and Shrinking Polygons

Note: CSS Shapes syntax has changed. For the latest information, see CSS Shapes Module Level 1.

Hans Muller recently added another fascinating blog post to his running series on the implementation of shape-inside from the CSS Shapes Level 2 specification.  In this post Hans describes the initial support he recently added for applying shape-inside and shape-padding to polygonal shapes.


While this first round of support in limited in scope, it is another step down the road towards providing a complete implementation of CSS Exclusions and Shapes.  In addition to Hans’s examples, his post also includes an interactive demos that you can play with to see the algorithm in action.

Comments are closed.