NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
~~~ !important 优先权 transparent背景透明 inherit 继承父级样式 rgba(125, 0, 0, .3); ~~~ 选择符 ~~~ E F 包含 E>F 子类 E+F 相邻 E~F兄弟 E[att="val"] 属性 a:link{} a:visited{} a:hover{} a:active{} input:focus{}获得焦点 E:first-child 第一个 E:last-child 最后一个 li:nth-child(2n){color:#f00;} 偶数 li:nth-child(2n+1){color:#000;} 奇数 E::before 之前 E::after 之后 p::selection{background:#000;color:#f00;} 只能定义背景字体颜色 ~~~