CSS :not(:last-child):after selector - Stack Overflow
CSS :not(:last-child):after selector - Stack Overflow
or if you can use before, no need for last-childChild and Sibling Selectors | CSS-Tricksli+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 */
沒有留言:
張貼留言