|
1 CSS元素选择器: [backcolor=rgb(255, 255, 255) !important] [backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
2 选择器分组: [backcolor=rgb(255, 255, 255) !important] [backcolor=rgb(255, 255, 255) !important] 1 | h1,h2,p{margin:0;padding:0;} |
3 通配符选择器: [backcolor=rgb(255, 255, 255) !important] [backcolor=rgb(255, 255, 255) !important]
4 类选择器: [backcolor=rgb(255, 255, 255) !important] [backcolor=rgb(255, 255, 255) !important] 01 | .hand{text-align:center;vertical-align:middle;} |
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important] 09 | p.hand{cursor:pointer;} |
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important] 13 | h.hand{margin:0 auto;}; |
5 多类选择器 [backcolor=rgb(255, 255, 255) !important] [backcolor=rgb(255, 255, 255) !important] 01 | <p class="important warning"> |
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important] 05 | This paragraph is a very important warning. |
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(255, 255, 255) !important] 15 | .important.warning {background:silver;} |
|
|