Check out example codes for "::after cant see". It will help you in understanding the concepts better.

Code Example 1

// sometimes i just miss the content

...
content:'';
...

Learn ReactJs, React Native from akashmittal.com