You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.7 KiB
73 lines
1.7 KiB
1 year ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>Demo</title>
|
||
|
<!-- 请勿在项目正式环境中引用该 layui.css 地址 -->
|
||
|
<link href="//unpkg.com/layui@2.9.9/dist/css/layui.css" rel="stylesheet">
|
||
|
<style>
|
||
|
.layui-table {
|
||
|
width: 95%;
|
||
|
margin: 10px auto;
|
||
|
background-color: #fff;
|
||
|
color: #5f5f5f;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
color: #303133;
|
||
|
background-color: #f1c40f;
|
||
|
font-size: 18px !important;
|
||
|
text-align: center !important;
|
||
|
}
|
||
|
|
||
|
td {
|
||
|
color: #303133;
|
||
|
font-size: 16px !important;
|
||
|
text-align: center !important;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<table class="layui-table">
|
||
|
<colgroup>
|
||
|
<col width="50">
|
||
|
<col width="50">
|
||
|
<col width="50">
|
||
|
<col width="50">
|
||
|
</colgroup>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>名字</th>
|
||
|
<th>分数</th>
|
||
|
<th>名字</th>
|
||
|
<th>分数</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<div contenteditable="true"></div>
|
||
|
|
||
|
</td>
|
||
|
<td>
|
||
|
|
||
|
</td>
|
||
|
<td>
|
||
|
<div contenteditable="true"></div>
|
||
|
|
||
|
</td>
|
||
|
<td>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|