-
|
Beta Was this translation helpful? Give feedback.
Answered by
saadeghi
Oct 29, 2022
Replies: 1 comment 1 reply
-
|
Style for <table class="table w-full">
<thead class="[&_th]:bg-white [&_th]:font-semibold">
<tr>
<th class="rounded-none">Name</th>
<th>Date Start</th>
<th>Date End</th>
<th>Progress</th>
<th class="rounded-none">Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cy Gandertonasdfjsdjafkjsadflkjsfjsdfljasldfj</td>
<td>Quality Control Specialist</td>
<td>Blue</td>
<td>Blue</td>
<td>
<button class="">View</button>
<button class="">Delete</button>
</td>
</tr>
</tbody>
</table> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
saadeghi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Style for
<thead>will not apply because<thead>doesn't have background color or font weight.Every
<th>cell has the style.So you should either apply that
bg-white font-semiboldclasses to each cell,or use class names like this to target the
<th>child elements:[&_th]:bg-white [&_th]:font-semibold