What does this code mean?

.show-grid .show-grid [class*="span"] { ... } 

1 answer 1

Firstly, it is a css-rule that will be applied to approximately the following html:

 <div class="show-grid"> <div class="show-grid"> <div class='spanSomething'> // атрибут class содержит строку 'span' </div> </div> </div> 
  • that is, does this apply to all spans, any spans? - oldzas
  • this applies to all tags with classes containing the string span and having 2 parent elements with the show-grid class - Specter