Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] ::after selector, get rid of last item ::after selector Reply To: [Solved] ::after selector, get rid of last item ::after selector

#183344
Marcus Tisäter
Participant

Thanks that is what I was looking for.
#list a:last-child::after {
content: ”
}

#list a::after {
content: ‘ , ‘
}