
H1 + p {
}
H1~p {
}
Button:hover {
}
Others, like
P:first-of-type::first-letter {
}
ul.blah li:nth-child(even) {
background-color: magenta;
}
In the event of conflict, which rule “wins”?
We can mark a declaration as important using the !important flag (generally not good idea)
H1 {
Color: purple !important;
}
For more Information Check out the link
Ghulam Ahmad is an Excellent Writer, His magical words added value in growth of our life. Highly Recommended
- Fazal Rehman Tweet
One Response