Report Bug

QusIf the background image is of larger or smaller size than the container width, then which line of code will resize it to make fully visible? QusIf the background image is of larger or smaller size than the container width, then which line of code will resize it to make fully visible?


A. background-size: contain;
B. background-repeat: no-repeat;
C. background-size: cover;
D. none of the above


Solution
A. background-size: contain;



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad