Profile Information ...">

How to create a dashed line effect under the <tr> element using css?

<tr class="dotted">
    <td><strong>Profile Information</strong></td>
</tr>

how to write a "dotted" class in css to achieve this effect?

+3
source share
1 answer

could

tr.dotted td 
{
    border-bottom: dotted 1px black;
}

but you will have to have cellpacing = "0" or border-collapse: collapse; so there are no gaps in the line.

+3
source

Source: https://habr.com/ru/post/1714939/


All Articles