A developer needs to build a responsive image gallery where each row shows 4 images on large screens, 2 on medium, and 1 on small. Which class combination achieves this?
-
A
col-12 col-md-6 col-lg-3 on each image wrapper
-
B
col-sm-1 col-md-2 col-lg-4 on each image wrapper
-
C
col-4 col-6 col-12 on each image wrapper
-
D
col-lg-4 col-md-2 col-sm-1 on each image wrapper