选择器权值:css
标签选择器:1app
类选择器和伪类选择器:10ide
ID选择器:100it
通配符选择器:0import
行内样式:1000容器
!important 在必定条件下,优先级最高登录
经常使用的css样式命名搜索
页面结构
页头:header
页面主体:main
页尾:footer
内容:content/container
容器: containerim
导航:nav
侧栏:sidebar
栏目:column
页面外围控制:wrapper
左右中:left right center命名
导航
导航:nav
主导航:mainnav
子导航:subnav
顶导航:topnav
边导航:sidebar
左导航:leftsidebar
右导航:rightsidebar
菜单:menu
子菜单:submenu
标题: title
摘要: summary
功能
标志:logo
广告:banner
登录:login
登陆条:loginbar
注册:register搜索:search功能区:shop标题:title