markdown 表格宽度100%

提问

如何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% 行宽 |
posted @ 2023-05-08 14:30  东百牧码人  阅读(782)  评论(0)    收藏  举报