Not The First Child And Not The Last Child Css May 21, 2022 by Rajeswari Palanivel not the first child and not the last child css #navigation ul li:not(:first-child):not(:last-child) { ... } Source: stackoverflow.com