← Back to release summary

CSS shape() function

Category
CSS
Type
Chromium catches up
Status
Enabled by default (Chrome 135)
Intent stage
None

Summary

shape() allows responsive free-form shapes in clip-path. The author can define a series of verbs, roughly equivalent to the verbs in path(), but where the verbs accept responsive units (e.g. % or vw), as well as any CSS values such as custom properties or rather than pixel-values. See https://drafts.csswg.org/css-shapes-2/#shape-function

Standards & signals

View on chromestatus.com