常用CSS選取器

來源:互聯網
上載者:User

  1.標籤選取器

a{display:none;}
tr{font-size:10px;}

 

 

 

  2.ID選取器

#one{font-size:10px;}

 

 

  3.類別選取器

.one{font-size:10px;}

 

 

  4.群組選取器

div,span{font-size:10px;}

 

 

  5.後代選取器

#link a{color:red;}

 

 

  6.通配選取器

*{font-size:10px;}

 

相關文章

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.