Check out example codes for "empty string css". It will help you in understanding the concepts better.

Code Example 1

.heart::before {
    content: "";
    background-color: pink;
    border-radius: 50%;
    position: absolute;
    width: 50px;
    height: 50px;
    top: -25px;
    left: 0px;

Learn ReactJs, React Native from akashmittal.com