这就是我想要实现的
这就是我现在所拥有的
我正在努力实现第 4 点
拉伸文本以填充整个表格的单元格宽度。
这是我试过的
h2 {
font-size: 22px;
}
h3 {
font-size: 20px;
}
h4,
p,
th,
td {
font-size: 18px;
}
h1,
h2,
h3,
h4 {
color: #008577;
text-align: justify;
margin: 10px;
}
table {
margin: 5px
}
table,
th,
td {
border-collapse: collapse;
}
th,
td {
padding: 5px;
text-align: right;
font-family: hacen;
border-bottom: 1px solid #ddd;
}
td {
vertical-align: top;
}
table tr:nth-child(even) {
background-color: #E9FCEC; …Run Code Online (Sandbox Code Playgroud)