I have a simple table that has a row at the top with one td
element and the ones under it have 3 td
s here is the structure :
<tr class="type">
<td>
<span>Platform</span>
</td>
</tr>
<tr class="type__el">
<td>OS</td>
<td class="value">WINDOWS</td>
<td class="score"> 8.6</td>
</tr>
So im trying to set the background color for the first row but it doesn't work properly it only highlights the text :
.type {
background-color : #ccc;
}
i've tried adding 3 td
s to the row and it works but not clean since i see these gaps between them :