+ 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?

23rd Nov 2021, 12:50 AM
Fꫀⲅძ᥆͟ᥙ᥉᯽
Fꫀⲅძ᥆͟ᥙ᥉᯽ - avatar
1 Antwort
+ 1
tr :nth-child(odd) is equal to tr *:nth-child(odd)
24th Nov 2021, 10:45 AM
Alexey Kopyshev
Alexey Kopyshev - avatar