+ 2
Why tr:nth-child(odd) and tr :nth-child(odd) shows different result?
tr:nth-child(odd){background-color: blue;} tr :nth-child(odd){background-color: blue;} Are not same. But why?
1 Answer
+ 1
tr :nth-child(odd) is equal to tr *:nth-child(odd)
tr:nth-child(odd){background-color: blue;} tr :nth-child(odd){background-color: blue;} Are not same. But why?