.b-badge:after { content: attr(data-progress) '%'; } .b-badge[data-progress='100']:after { content: none; }
@Seagoul