Which class is used to create a responsive embed video in Bootstrap?
Correct answer
A. .embed-responsive
14 views
A. .embed-responsive
14 views
.embed-responsive (with a ratio class such as .embed-responsive-16by9) makes an embedded video or iframe scale with its container in Bootstrap 4.
Bootstrap 5 replaced it with the .ratio helper, e.g. .ratio .ratio-16x9.
Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.