css 选择器

通过标签选择

<stype>
  h1{

  }

</style>

通过id选择

<stype>
  #id{

  }

</style>

通过class选择

<stype>
  .class{

  }

</style>

通过[attr='value']选择

<stype>
 [attr='value']{

  }

</style>

posted @ 2020-09-13 16:23  JunCode  阅读(117)  评论(0编辑  收藏  举报