CSS :not(:last-child):after selector - Stack Overflow
CSS :not(:last-child):after selector - Stack Overflow
Child and Sibling Selectors | CSS-Tricksor if you can use before, no need for last-childli+li:before { content: '| '; }
http://jsfiddle.net/ra5BK/p + p { font-size: smaller; } /* Selects all paragraphs that follow another paragraph */ #title + ul { margin-top: 0; } /* Selects an unordered list that directly follows the element with ID title */
沒有留言:
張貼留言