The weight overlay of the CSS base selector

Source: Internet
Author: User

Li Wu:
Heng Learn to think together, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.
Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercises to keep the body and mind, sincere advice and the line and cherish.

Ide:visual Studio 2017

<!DOCTYPE HTML><HTML><Head>    <MetaCharSet= "Utf-8" />    <Metaname= "Author"content= "Https://"/>    <title></title>    <styletype= "Text/css">TD{Border:1px solid Black;        }        /*0002,*/Body Div{Background-color:Dimgrey;        }        /*0001*/Div{Height:100px;width:100px;Background-color:Grey;        }            </style></Head><Body>    <Table>        <caption>The weights of CSS</caption>        <thead>            <TR>                <th>Members</th>                <th>Contribution value</th>            </TR>        </thead>        <tbody>            <TR>                <TD>Inherited</TD>                <TD>0,0,0,0</TD>            </TR>            <TR>                <TD>Label</TD>                <TD>0,0,0,1</TD>            </TR>            <TR>                <TD>class, Pseudo-Class</TD>                <TD>0,0,1,0</TD>            </TR>            <TR>                <TD>Id</TD>                <TD>0,1,0,0</TD>            </TR>            <TR>                <TD>Style</TD>                <TD>1,0,0,0</TD>            </TR>            <TR>                <TD>!important</TD>                <TD>∞</TD>            </TR>        </tbody>    </Table>Note: There is no binary relationship between levels insurmountable.    If two weights are the same, then the nearest consensus principle. <BR/>    <!--You can design your own class/id for testing . -    <Div></Div></Body></HTML>


CSS3 excellent, worth learning.
Learning resources: + itcast and Itheima video library + Pure Heart.
If you have public resources, can share to me, with your resources to learn also can.
Blog post is to watch the video, into thinking written. It's good that the teacher speaks well. Blog bad, is to give the most bitter not serious.

The weight overlay of the CSS base selector

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: 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.