não o primeiro filho e não o último filho CSS #navigation ul li:not(:first-child):not(:last-child) { ... }