Last Updated: February 25, 2016
·
2.546K
· nathansmonk

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.