Squeaky Portraits: Having Fun with the CSS path() Function
Published in
9 min readApr 29, 2021
With the Chrome 88 release, we got support for clip-path: path()
. That means it now has support in "most" major browsers!
With path()
, we're able to use path definitions for a clip-path
(Catch up on what clip-path
is here). These path definition strings are the same as those we can use with the SVG path element. What's cool about this is that it provides a way to…