-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Description
🙋 feature request
Support the :modal pseudo-class in @parcel/transformer-css.
🤔 Expected Behavior
When using :modal pseudo-class in CSS, no warnings or error should be emitted.
😯 Current Behavior
The following warning is emitted:
@parcel/transformer-css: Unsupported pseudo class or element: modal
💁 Possible Solution
🔦 Context
I'm using the :modal pseudo to style a dialog element as per the MDN documentation. The warning is a bit distracting as it looks like there's something wrong with the code.
Currently I can work around this using the [open] attribute selector, and it's not a big deal, but would be nice if :modal worked without issues.
💻 Examples
dialog:modal {
// Styles when dialog is opened as a modal
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels