The CSS Painting API — part of the CSS Houdini umbrella of APIs — allows developers to write JavaScript functions that can draw directly into an element's background, border, or content....developers to create custom values for paint() , a CSS <image>...function. You can then apply these values to properties like background-image...