Is there a way to target the first row of a table with a different tr
class using CSS?
<div id="right">
<table>
<tbody>
<tr class="head">
<td >Date</td><td>Info</td><td>More</td>
</tr>
<tr><td>...</td></tr></table>
</div>
How can I modify this css
#right table tr:first-child td:first-child {
border-top-left-radius: 10px;
}
#right table tr:first-child td:last-child {
border-top-right-radius: 10px;
}
so that it only affects elements with the .head class?