so I am trying to move a child div with background image but background position no matter how much i set isn't moving, this is my code in html:
<div className="review-dots-container">
<div className="review-dots-purple" />
</div>
and my css:
.review-dots-container {
width: 100%;
height: 100%;
position: relative;
.review-dots-purple {
background-image: url('./scss/img/dots-purple@1x.png');
height: 368.08px;
width: 368.12px;
position: absolute;
background-position: 70% 80%;
@include mediaQuery(768px) {
height: 368.08px;
width: 112px;
}
}
}
so the parent has inherit the width and height, it's positioned to relative with the child div with background image positioned to absolute, but the image is not moving anywhere no matter how much i set, even if it's
background-position: 120% 180%;