CSS Table样式示例

CSS Table1 个文件更新于 2026-04-06
html公开前 25 行,完整代码需登录
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>CSS Table样式示例</title>
  <style>
    .table-separate,
    .table-separate th,
    .table-separate td {
      border: 1px solid #000;
    }
    .table-separate {
      border-collapse: separate;
      border-spacing: 10px;
      margin-right: 40px;
    }
    .table-collapse,
    .table-collapse th,
    .table-collapse td {
      border: 1px solid #000;
    }
    .table-collapse {
      border-collapse: collapse;
    }
    .table-label {

登录后可以查看完整源码、在线编辑并实时预览运行效果。