Pseudo Class CSS Menu Divider
By using multiple CSS Pseudo Classes, you can add a visual divider to your navigation easily with minimal markup.
#menu li:not(:last-child):after { content: " / "; }
Using this, you don't get a 'divider' on your last navigational item.
Written by Nathan Monk
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#