动态生成表格
效果展示:
代码展示
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
font-size: 20px;
}
table {
margin-left: 100px;
margin-top: 100px;
}
table {
background-color: antiquewhite;
border-radius: 5px;
}
td {
width: 50px;
border-radius: 5px;
}