为了账号安全,请及时绑定邮箱和手机立即绑定

bootstrap源代码中table-condensed > thead > tr > th这样"<"写法是什么意思

bootstrap源代码中table-condensed > thead > tr > th这样"<"写法是什么意思

冯小亮 2016-05-31 09:28:32
源码请查看bootstrap.css文件第1442行~第1449行:.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td { padding: 5px; }
查看完整描述

4 回答

已采纳
?
5E

TA贡献115条经验 获得超39个赞

table-condensed下的thead ,thead下的tr,tr下的th,不知道我这样说你能明白么?就是说,只在table-condensed下面的thead有后面的样式,其他情况下的thead样式不在这里设定。

查看完整回答
4 反对 回复 2016-05-31
?
echo_kinchao

TA贡献600条经验 获得超86个赞

直接子集   只能是儿子 不能是孙子

查看完整回答
4 反对 回复 2016-05-31
?
sunfloweryll

TA贡献1条经验 获得超2个赞

>是css的父子选择器,指选择的是直接子元素,不包括孙子。注意和后代选择器区分一下就行

查看完整回答
2 反对 回复 2016-05-31
?
荼酒

TA贡献133条经验 获得超96个赞

父辈元素的子辈元素,不包括孙辈

查看完整回答
2 反对 回复 2016-05-31
  • 4 回答
  • 0 关注
  • 2791 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信