Answer the question
In order to leave comments, you need to log in
On before the picture is not displayed, what could be the gap?
on before the picture is not displayed, what could be the gap? positioning for the parent (in my case it's a link) is written and it's set to before absolute.
a{
margin-bottom: 22px;
padding-left: 25px
color: #3a4248;
text-decoration: none;
display:block;
position: relative;
&::before{
content: "";
background-image: url("../../images/map-marker.svg");
width: 20px
height: 20px;
display:block;
position: absolute;
left: 0;
}
}
I don't understand what the problem is
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question