How To Select Li Child Of A Ul Without Nth-child Via Css?
I am getting a problem with my project where our client has used a logo image inside the menu's ul li. He has used a class with li where the logo is placed but I cant use the class
Solution 1:
:empty
selector should be what you are looking for.
ul li a:empty {
background:red;
width:50px;
display: inline-block;
height: 10px;
}
Post a Comment for "How To Select Li Child Of A Ul Without Nth-child Via Css?"