"Table" sets a common CSS3 style for table table (Zebra stripes by default)

Source: Internet
Author: User

/*= table (with zebra stripes by default)------------------------------------------*/. Data-table{margin:10px 0;}. data-table Table{width:100%;Border-collapse:collapse;//Set table borders to merge into a single border}. Data-table caption{Height:30px;Line-height:30px;Font-weight: the;}. data-table thead th,.data-table tbody TD{padding:8px;Height:19px;Line-height:19px;Font-weight: -;}. data-table thead th{text-align: Left;Color:#fff;Background-color:#353535;}. data-table tbody TR{Background-color:#fefefe;Color:#686868;}. data-table tbody tr:nth-child (even){Background-color:#f2f2f2;}/*the column width of the check box*/. row-selected{width:15px;}

2.

Table sets a common CSS3 style for table tables (with zebra stripes by default)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.