ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

大公司常见表格样式

2019-06-08 10:44:15  阅读:230  来源: 互联网

标签:表格 Chinese 样式 常见 tr Victoria tb1 td first


贴上效果图:

 

贴上代码:

 

<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>大公司常见表格</title>
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
        }


        .bt-table {
            padding: 20px;
        }
        td {
            padding: 10px;
        }
        #tb1 tr {
            background-color: #fff;
            font: normal 14px/180% Georgia,Arial,Helvetica,sans-serif;
        }

        /*奇数行样式*/
        #tb1 tr:nth-child(even) {
            background-color: #dee1e6;
        }

        #tb1 thead tr {
            background-color: #dee1e6;
        }
        #tb1 thead tr td{
           border: 1px solid #b6b4b6;
        }
        #tb1 thead tr td{
           border-left: none;
        }
        #tb1 thead tr td:first-child{
           border-left: 1px solid #b6b4b6;
        }
        #tb1 tbody tr td{
           border-bottom: 1px solid #b6b4b6;
        }

       
    </style>
</head>

<body>
    <div class="bt-table">
        <table id="tb1"   width="100%" cellspacing="0">
            <thead>
                <tr>
                    <td width="50">序列</td>
                    <td>主题</td>
                    <td>内容</td>
                    <td>链接</td>
                    <td width="50"> 操作</td>
                </tr>
            </thead>
            <tbody >
                <tr>
                    <td>1</td>
                    <td>Sportswomen</td>
                    <td>Achievement:After a 12-year wait, China's Women's Volleyball Team re-gained its spot on top of
                        dias, winning gold at the 2016 Summer Olympics. The team are now regarded as national heroes,
                        proudly carrying the flag of China's Olympic glory that first flew 30 years ago.</td>
                    <td>Persistence

                    </td>

                    <td>删除</td>
                </tr>
                <tr>
                    <td>2</td>
                    <td>Profession:Model</td>
                    <td>Achievement:As the first Chinese model to walk the Victoria's Secret runway and the first Asian
                        model to make Forbes magazine's annual highest-paid models list, Liu has led three other Chinese
                        girls to the 2016 Victoria's Secret Fashion Show, bringing a wave of Chinese chic to the fashion
                        world.
                    </td>
                    <td>Persistence</td>

                    <td>删除</td>
                </tr>
                <tr>
                    <td>3</td>
                    <td>Profession:Model</td>
                    <td>Achievement:As the first Chinese model to walk the Victoria's Secret runway and the first Asian
                        model to make Forbes magazine's annual highest-paid models list, Liu has led three other Chinese
                        girls to the 2016 Victoria's Secret Fashion Show, bringing a wave of Chinese chic to the fashion
                        world.
                    </td>
                    <td>Persistence</td>

                    <td>删除</td>
                </tr>
            </tbody>
        </table>
    </div>
</body>

</html>

 

大公司(如华为)常见的漂亮表格样式

 

标签:表格,Chinese,样式,常见,tr,Victoria,tb1,td,first
来源: https://www.cnblogs.com/DZzzz/p/10989011.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有