span.character-gift::after { display: inline; content: ","; } span.character-gift:last-of-type::after { content: "."; }