CSS Paint API

The CSS Painting API allows developers to write JavaScript functions that draw directly into an element's background, border, or content. Paint worklets are resolution-independent, run off the main thread, and can be parameterized using CSS Custom Properties.

Not Supported

Your browser does not support the CSS Paint API. Try Chrome, Edge, or Opera.