`
baitian
  • 浏览: 29659 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

css selector 小记

阅读更多
space for Nesting Selectors
, for selector group

element selector:
element name

property selector:
special:
*# for id property
*. for class property
general:
*[property name]
*[property name][property name]
*[property name=property value]
*[property name~=key](~ indicate property value contains the key ,the key is a whole world )
*[property name^=key](^ indicate property value start with the key )
*[property name$=key]($ indicate property value end with the key )
*[property name*=key](* indicate property value contains the key )
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics