Javel's notes

TIL; clip-path

clip-path CSS property can be used to change the shape an HTML element, using function such as polygon, circle, to determine which part of the element should be masked and which part should be shown.

Extremely handy to create beveled shapes.

Sources

© Joris Langlois 2023