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