Discuss the difference between 'object-fit' and 'background-size' properties in CSS.
Instruction: Explain how 'object-fit' and 'background-size' differ and their appropriate use cases.
Context: This question assesses the candidate's understanding of CSS properties related to controlling visual content size, and when to apply each for optimal design results.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.