How would I do this in CSS

I am working on a project that uses a form and has stages - I want it to look like this but how would I style such a time line in css?


I was thinking creating spans and then when at a stage activate these spans etc?

Would this be a good way of doing it?

Cheers :slight_smile: