css /* 错误示范 */ body #header .nav ul li a:hover { color: red !important; }
:
- 选择器特异性值高达0,1,3,2 ,揭示那些容易被忽视的实践选择器陷阱 。微信域名防封跳转