Responsive Images and Ratios
img-fluid scales images and ratio keeps aspect.
Example
<img src="a.jpg" class="img-fluid rounded" alt="">
<div class="ratio ratio-16x9">
<iframe src="https://www.youtube.com/embed/xyz" title="Video"></iframe>
</div>Exercise
Fluid image.
class="img-"
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.