| 姓名 | 性别 | 年龄 | 名族 |
|---|---|---|---|
| 张峰 | 男 | 19 | 汉族 |
| 李惠 | 女 | 18 | 回族 |
如何让类选择器的th部分也发挥作用
.fancy th{ color:#f60;background:#666;}
.fancy td{ color:#f60;background:#666;}
=》改成下面的。因为是class .table 里面的th td
.table .fancy th{ color:#f60;background:#666;}
.table .fancy td{ color:#f60;background:#666;}
.fancy th{ color:#f60;background:#666;}
.fancy td{ color:#f60;background:#666;}
=》改成下面的。因为是class .table 里面的th td
.table .fancy th{ color:#f60;background:#666;}
.table .fancy td{ color:#f60;background:#666;}
@kongwei521
.fancy th{ color:#f60;background:#666;}
.fancy td{ color:#f60;background:#666;}
=》改成下面的。因为是class .table 里面的th td
.table .fancy th{ color:#f60;background:#666;}
.table .fancy td{ color:#f60;background:#666;}
| 姓名 | 性别 | 年龄 | 名族 |
|---|---|---|---|
| 张峰 | 男 | 19 | 汉族 |
| 李惠 | 女 | 18 | 回族 |
真搞不懂
你少了 这个吧
真搞不懂
把 //html的注释
=》
改成 /*类选择器*/
你直接复制粘贴运行看结果如何,反正我机子上不行,纠结。。
你直接复制粘贴运行看结果如何,反正我机子上不行,纠结。。
Copyright © 2019- diyibofang.com 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务