If
.animal {background: yellow}
applies the styling rule to any elements with a class that includes the word animal, even if it has other words such as...
<li class="toy animal">Toy Bear</li>
then why use the below syntax for selecting by partial attribute?
*[class~="animal"] {background: yellow}
Appreciate your input.