Answer the question
In order to leave comments, you need to log in
CSS override property how?
There is a menu, it has several items that consist of links. I apply the style to all links that are in the menu:
.dropdown a {
display: block;
font-size: 17px;
line-height: 30px;
font-weight: 700;
padding: 18px 20px 12px 16px;
border-bottom: 3px solid transparent;
Answer the question
In order to leave comments, you need to log in
.dropdown a:last-child {
}
There is no way to cancel, you can only overwrite with a new one (which, as it were, cancels the previous style).
.dropdown a {
color: #000;
}
.dropdown a:last-child {
color: #fff;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question