How can I keep five stars inside a div even when the screen size is small?
I have created a div with an image and I want to place five stars within that div. However, as I reduce the size of the screen, the stars come out of the box.
Is there a way to ensure that the stars always stay within the box regardless of the screen size?
html
<div class="abc">
<div class="def">
<img class="img-fluid Images" src="https://i.ibb.co/3p3D4h6/dmitry-bayer-276d-F1-RG67-Q-unsplash.jpg">
<div class="row boxImage">
<star-rating value="4" totalstars="5"
(rate)="Rate($event)"></star-rating>
</div>
</div>
</div>