SELECTEUR CSS DEUX PREMIERS ENFANTS code example
Example 1: pair impaire css
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
Example 2: direct child css
selector>direct_child_element_seletor{
rules;
}
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
selector>direct_child_element_seletor{
rules;
}