Home
CSS
CSS Specificity
Tryit: The universal selector (*) do not impact the specificity weight value
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> * {background-color: yellow;} h1 {background-color: red;} </style> </head> <body> <h1>This is a heading</h1> </body> </html>