【Hexo】Hexo中用CSS控制Markdown各列表格宽度

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<style>
table th:nth-of-type(1){
width: 10%;
}
table th:nth-of-type(2){
width: 20%;
}
table th:nth-of-type(3){
width: 30%;
}
table th:nth-of-type(4){
width: 40%;
}
</style>
| 一 | 二 | 三 | 四 |
| :-: | :-: | :-: | :-: |
| 1 | 2 | 3 | 4 |
1 2 3 4

参考: