[Solved] td .cssClass – is this a valid construct? [closed]


If you use a preprocessor like sass, you can nest selectors like that. Not with normal css though.

With normal css you would need to do

tbody tr td .plusIcon {
  background: url(../img/left-arrow-blue.png) 15px 18px no-repeat;
  vertical-align: bottom;
  padding-left: 42px;
}
tbody tr td  .minusIcon {              
  background: url(../img/down-arrow-blue.png) 15px 18px no-repeat;
  vertical-align: bottom;
  padding-left: 42px;
}

2

solved td .cssClass – is this a valid construct? [closed]