The content attribute in CSS is pretty useful. It can only be used with the Pseudo properties before and after which essentially determine where the content is going to be outputted.
So a basic example using the content attribute would be to label small items: 09839 048882
.phonenumber:before{ content: 'Phone number: ';}
Essentially this snippet will add “Phone number” in every element that uses this class at the beginning of the text. Pretty useful when there is a mass change of labels needed to be done.


