My CSS
#outer div ul .nav a {
background-color: blue;
padding: 5px;
display: inline-block;
margin-bottom: 10px;
background-color: revert;
}
div div li a {
color: yellow;
}
My html
My CSS
#outer div ul .nav a {
background-color: blue;
padding: 5px;
display: inline-block;
margin-bottom: 10px;
background-color: revert;
}
div div li a {
color: yellow;
}
My html
Hi @shivam_saini and welcome to the community
Your usage of revert
is correct. Congratulations!
What you are missing is: “… a declaration in a new rule …”
Something like this:
a { /* you need to find a better selector as this is not specific enough */
background-color: revert;
}
Can you find a working selector for this rule?
Feel free to ask if you need help
Have a nice day!
Michael