Which class is used to create a card in Bootstrap?
Correct answer
B. .card
17 views
B. .card
17 views
.card creates a card — a flexible content box with optional header, body, footer and image. Cards were introduced in Bootstrap 4, replacing the older panels, wells and thumbnails.
.container is a layout wrapper, and .panel belongs to Bootstrap 3.
Want more practice? Try the full set of Computer Science MCQs on MCQsExam.com.
Not sure why the answer is B? Ask here and get an explanation.