Border & OutlineBorder Spacing

Border Spacing

Controls the distance between table borders.

ClassStyle
bs-0border-spacing: 0rem;
bs-1border-spacing: 0.25rem;
bs-2border-spacing: 0.5rem;
bs-3border-spacing: 0.75rem;
bs-4border-spacing: 1rem;
bs-5border-spacing: 1.25rem;
bs-6border-spacing: 1.5rem;
bs-7border-spacing: 1.75rem;
bs-8border-spacing: 2rem;

The space between the borders of adjacent table cells will be increased.

<table class="b-1 bc-indigo bs-4 w-full">
<tr>
<td class="b-1 bc-indigo p-4 ta-c tc-indigo">A</td>
<td class="b-1 bc-indigo p-4 ta-c tc-indigo">B</td>
</tr>
<tr>
<td class="b-1 bc-indigo p-4 ta-c tc-indigo">C</td>
<td class="b-1 bc-indigo p-4 ta-c tc-indigo">D</td>
</tr>
</table>

Using utility variants

Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.

Using media queries

You can combine responsive breakpoints like sm:bs-*, md:bs-*, lg:bs-*, and xxl:bs-* to allow targeting specific utilities in different viewports.

Using hover states

Alternatively, you can apply :hover by using h:bs-* utility to override elements and change their values when hovering over them.