Check out example codes for "space in css :before :after". It will help you in understanding the concepts better.

Code Example 1

p:before {content:"\00a0";}
p:after {content:"\00a0";}

Learn ReactJs, React Native from akashmittal.com