Kalim Kalim - 2 months ago 7
CSS Question

Call every child element of a list

I have different classes of a list item a different

background-image
in this example. How can I hide all the background images? I tried the following code to no avail.

ul {
li. * {
background-image: none:
}
}

Answer

Try:

ul {
    li {
       background-image: none !important;
    }
}