Answer the question
In order to leave comments, you need to log in
Absolute positioning of a pseudo-element?
There is an element with this style
.test {
position: relative;
&:before {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 15px;
height: 12px;
background: url('../m/check.png');
margin: -5px 0 0 -6.5px;
overflow: visible;
}
}
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