CSS import attributes
Module import … with { type: "css" } statements load CSS modules as constructable stylesheets. Also known as CSS module scripts.
Status
Limited availability
MDN documentation
Specifications
- HTML (#css-module-script), from HTML Workstream (WHATWG).
Browser support
- Chrome 123 Released on 2024-03-19
- Chrome Android 123 Released on 2024-03-19
- Edge 123 Released on 2024-03-22
- Firefox ❌ Vendor position : positive
- Firefox for Android ❌ Vendor position : positive
- Safari ❌ See webkit.org/b/227967 Vendor position : support
- Safari on iOS ❌ See webkit.org/b/227967 Vendor position : support
Usage (according to Chrome Platform Status)
~0.000% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper signals
Votes: 6
If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist