I need help positioning a div in the bottom right corner of all images, regardless of their width.
The issue I am facing is that when an image takes up 100% width, the div ends up in the center. How can I ensure the div stays in the lower right corner even with images of varying widths?
.boxImage {
flex: 1 1 100%;
cursor: pointer;
position: absolute;
background-color: white;
background-position: 13px 13px;
background-repeat: no-repeat;
height: 50px;
width: 44%;
border-radius: 8px;
opacity: 1;
top: 91%;
left: 43%;
max-width: 250px;
}
<div class="d">
<div class="a">
<img class="img-fluid" src="https://i.ibb.co/mqnwwKB/Screenshot-72.jpg">
<!-- <img class="img-fluid Images" src="https://i.ibb.co/3p3D4h6/dmitry-bayer-276d-F1-RG67-Q-unsplash.jpg"> -->
<div class="row b">
<ul class="list-inline rating-list" *ngFor="let star of stars" style="display: inline-block">
<li (click)="countStar(star)" [ngClass]="{'selected': (star <= selectedValue)}">
<i class="fa fa-star"></i>
</li>
</ul>
</div>
</div>
</div>