Bootstrap Interview

Bootstrap Media Interview

1How do you make image responsive?
Answer: Use .img-fluid.
2How to maintain video aspect ratio?
Answer: Use Bootstrap .ratio utilities.
3Why use lazy loading for images?
Answer: Improves initial page performance.
4What is semantic wrapper for media with caption?
Answer: figure and figcaption.
5How to style image as thumbnail?
Answer: Use .img-thumbnail.