How does the 'position: sticky;' property work, and what are its use cases?
Instruction: Explain the functionality of the 'position: sticky;' property and provide examples of its practical applications.
Context: This question assesses the candidate's knowledge of the 'position: sticky;' property, which allows elements to toggle between relative and fixed positioning based on the user's scroll position.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
For example, consider implementing a sticky navigation menu...