I have a list that is generated by a repeat-children. It renders a country name from a database. Each country has a comma that follows and separates the next name. All of which works perfectly.
Now, how can I stop the last comma at the end of the last country name from showing? Can I use the first:child and last:child to do this?
I guess I can…
Solved:
.no-comma:not(:last-child):after {
content:’, ';
}
Community Page
Last updated:
Last updated: