Is there anyway to have LESS apply the immediate child selector ( > ) in its output?
In my style.less, I want to write something like:
.panel { .
Also, If you are targeting the first child element, such as the first of a , you could use something like this: tr { & > td:first-child {font-weight:bold;} } this helps reduce class declarations when they aren't needed. 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
of a , you could use something like this: tr { & > td:first-child {font-weight:bold;} } this helps reduce class declarations when they aren't needed. 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
, you could use something like this: tr { & > td:first-child {font-weight:bold;} } this helps reduce class declarations when they aren't needed. 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
tr { & > td:first-child {font-weight:bold;} }
this helps reduce class declarations when they aren't needed.