A short CSS tutorial showing how to style modal dialogs with the :modal pseudo-class and how the dialog element is used. It is aimed at front-end developers and designers who already know basic CSS.
What you’ll learn
✓Style a dialog element with CSS
✓Target open modals using the :modal pseudo-class
✓Tell apart the two common uses of dialog elements