About Background Image Position On The Right Side
If you want to adjust a non-repeated background image position aligned to the right, you can do this with calc()
function like this:
.loading {
background-image: url(loading.gif);
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: calc(100% - 10px) center;
}
That is analogous to:
.loading {
background-image: url(loading.gif);
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: right 10px center;
}
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You