paint()
Limited availability
The paint() CSS function creates a custom image, drawn using a paint worklet, for an element's background or border.
Browser support (view on caniuse.com)
- Chrome 65 Released on 2018-03-06
- Chrome Android 65 Released on 2018-03-06
- Edge 79 Released on 2020-01-15
- Firefox Not supported Position: positive Bugs: 1302328
- Firefox for Android Not supported Position: positive Bugs: 1302328
- Safari Not supported Bugs: 190217
- Safari on iOS Not supported Bugs: 190217
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist