Markdown技巧:改变表格宽度(列宽) 发表于 2020-02-09 | 更新于: 2020-02-09 | 分类于 经验分享 | 热度: ℃ | 字数统计: 121 字 | 阅读时长 ≈ 1 分钟 在Markdown表格前面加入下面的代码 1234567891011121314151617<style>table th:first-of-type { width: 20%;}table th:nth-of-type(2) { width: 30%;}table th:nth-of-type(3) { width: 50%;}</style>| A列 | B列 | C列 || :---| :--- :| ---: || 列宽 = 10% 行宽| 列宽 = 30% 行宽 |列宽 = 60% 行宽 | 效果如下: A列 B列 C列 列宽 = 10% 行宽 列宽 = 30% 行宽 列宽 = 60% 行宽 打赏 微信支付 支付宝