提问
如何markdown 表格宽度100%
回答
<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% 行宽 |
如何markdown 表格宽度100%
<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% 行宽 |