CSS: content:"\00a0"

Posted by SteD on Stack Overflow See other posts from Stack Overflow or by SteD
Published on 2010-05-05T04:47:42Z Indexed on 2010/05/05 4:58 UTC
Read the original article Hit count: 201

Filed under:

Today I came across a new CSS syntax that I have never seen before

content:"\00a0";

Checking it on w3schools, it explains:

Definition and Usage

The content property is used with the :before and :after pseudo-elements, to insert generated content.

My question is, can you point out to me in real world example, how do we use this 'content' syntax? And what does the \00a0 mean in this case?

© Stack Overflow or respective owner

Related posts about css