I am trying to simplify my css selector in CSS sheet
I have something like
.table_test .div, .table_name .div, .table_company .div{
color:black;
}
.table_test .div table input, .table_name .div table input{
color:red;
}
My html is something like
<div class='table_test'>
<div class='div'>......
<table>
<tr>
<td><input>...</td>
</tr>
</table>
</div>
<div class='table_name'>
<div class='div'>......
<table>
<tr>
<td><input>...</td>
</tr>
</table>
</div>
I feel like there are so many selectors clustered together and was wondering if there is a way to make it simpler. Thanks for the help!