css before content add space code example Example: space in css :before :after p:before {content:"\00a0";} p:after {content:"\00a0";}