Which class is used to create a responsive image in Bootstrap?
-
A
.img-responsive
Correct answer
-
B
.responsive-img
-
C
.image-responsive
-
D
.responsive-image
Correct answer
A. .img-responsive
14 views
Explanation
The .img-responsive class is used to create a responsive image in Bootstrap, ensuring that it scales appropriately with the size of the viewport.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ