HTML table reset 样式

<table border="1">
  <tr>
    <th>Firstname</th>
    <th>Lastname</th> 
    <th>Age</th>
  </tr>
  <tr>
    <td>Jill</td>
    <td>Smith</td>
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td> 
    <td>94</td>
  </tr>
</table>
table {
  border-collapse: collapse;
  border-spacing: 0;
}

参考链接:https://github.com/jgthms/bulma/blob/master/sass/base/minireset.sass

评论数量: 0

0
点赞
126
浏览
0
评论

贡献 16