返回大风车的旋转表......登陆

大风车的旋转表格制作

选择角色2019-02-17 10:51:38354
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>表格</title>
</head>
<style>
    table {
        border-collapse: collapse;
        margin: 0 auto;
    }

    table tr {}

    table tr td {
        border: solid 3px lightgray;
        width: 100px;
        height: 100px;
    }

    table tr:nth-child(1) td:nth-child(1) {
        background: red;
    }
    table tr:nth-child(1) td:nth-child(2) {
        background: blue;
    }
    table tr:nth-child(2) td:nth-child(1) {
        background: green;
    }
    table tr:nth-child(2) td:nth-child(2) {
        background: black;
    }
    table tr:nth-child(3) td:nth-child(1) {
        background: yellow;
    }
</style>

<body>
    <table>
        <tr>
            <td colspan="2"></td>
            <td rowspan="2"></td>
        </tr>
        <tr>
            <td rowspan="2"></td>
            <td></td>
        </tr>
        <tr>
            <td colspan="2"></td>
        </tr>
    </table>
</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送