I want to define a new style of wordpress administration for the PostList page. I don't know if CSS 3 has a property to allow background-image using linear gradient to display at the whole of css "table row" and not independently in each TR. Until now all my attempts have been failures. Perhaps the CSS4 will allow that ?
I can't find a simple css solution to target only tr from table ignoring all child (td and th) to use background-image:linear-gradient().
this solution :
table-name tr:nth-child(even)
add background to all td and th.
I want just target each row (tr) depending even or odd for me it would be direct childs from table.
I try
table-name:nth-child(odd or even)
or
table-name > *:nth-child(odd or even)
they don't work
Is javascript the only solution? it's really strange that the W3C hasn't thought of this


Here's a table with the
trelements set to have a linear gradient background. Is this what you mean?