HTML/CSS:
body {
padding: 50px;
}
ul li:first-child,
ul li:hover {
color: blue;
}
<ul>
<li>one</li>
<li>two</li>
<li>three</li>
</ul>
JsFiddle -here is a list having its first-element as default hovered. How can I remove hover effect on first child of list when its siblings are hovered?
When other than first li
child elements are hover
ed to turn color
of first-child
to black
.