📜  重置默认表格样式 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:30.856000             🧑  作者: Mango

代码示例1
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}