给定跨度,文本和其他跨度是兄弟姐妹,如何嵌套“特色”文本?
li a href="#" class="selected" span class="icon-before" Featured span class="icon-after"
解决方法
li a href="#" class="selected" span class="icon-before" | Featured span class="icon-after"
得到:
<li><a class="selected" href="#"><span class="icon-before"></span>Featured<span class="icon-after"></span></a></li>