How to style li, span, and a elements in CSS [closed]

Try the following and change color based on your actual preference.

ul{
list-style-type:none;
}

li{
display:block;
}

ul li a:hover{
color:#332419;
display:block;
text-decoration:none;
}

li:hover{
background-color:#ead6b7;
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top