The `content` of the `heart::before` selector should be an empty string

The content of the heart::before selector should be an empty string.

.heart::before {

content:"";   <-- this is the answer, same as .hear::after

background-color: pink;

border-radius: 50%;

position: absolute;

width: 50px;

height: 50px;

top: -25px;

left: 0px;

Are you saying that that property is missing from the CSS in a certain problem?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.