How to use selector attribute for span hover : I have the following unique attribute assigned to a class:

    .subcategory1:hover span { background: url(entertainment-hover.png); }

I have many such subcategory classes and I want to assign them additionally general attributes for `:hover span` and I came up with the following:

    [class*="subcategory"]:hover span {
      background-size: 20px; 
      background-repeat: no-repeat;
        background-position: 0px 2px;

But it doesnt work and I cant find the problem!

Does anyone know what I have to amend to make this work assinging these attributes to all subcategory classes on :hover for span?

Many thanks

David