The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Newbie CSS question › Reply To: Newbie CSS question
You could use first-child and last-child :
first-child
last-child
codepen.io/anon/pen/BKaqPg