+ 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 Answer
+ 1
tr :nth-child(odd) is equal to tr *:nth-child(odd)
24th Nov 2021, 10:45 AM
Alexey Kopyshev
Alexey Kopyshev - avatar