A look at the dialog element’s super powers
The new dialog element is more than a display toggle because it provides better focus handling, inert functionality and closes on keypress.
The new dialog element is more than a display toggle because it provides better focus handling, inert functionality and closes on keypress.
The ’!important` keyword is removed when using custom properties as CSS property values.
CSS custom properties don’t work in media queries. Custom media queries could help out here but unfortunately, they’re not supported yet.
Todoy I learned that you can define the very useful CSS property property for particular gradients in a background property.