Answer the question
In order to leave comments, you need to log in
How to set background-position for v-avatar?
Without js.
*, body, .v-image__image, .v-image__image--cover, .v-image__image .v-image__image--cover {
background-position: top !important;
}
<div data-v-27774344=""
class="v-avatar profile_avatar-avatar v-avatar--tile"
style="height: 106px; min-width: 48px; width: 106px; background-position: center top;">
<div data-v-27774344=""
role="img"
aria-label="Andrew"
class="v-responsive v-image profile_avatar-img">
<div class="v-responsive__sizer"
style="padding-bottom: 100%;">
</div>
<div class="v-image__image v-image__image--cover"
style="background-image: url(ссылка); background-position: center center;"></div>
<div class="v-responsive__content"></div>
</div>
</div>
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