i use this after in SCSS but i don’t see anything.
&::after {
position: absolute;
right: 0;
top: 0%;
width: 216px;
height: 254px;
transform: rotateY(180deg);
background: url(../images/life_history.svg) center/contain no-repeat;
}
2
Answers
you forgot to add the content property in the CSS code:
content: '';
you are missing
content: "";
}