Question 5 of 10Pro Only

Explain the different CSS position values and when to use each.

Sample answer preview

The position property controls how an element is placed in the document. There are five values, each with different behavior. Static is the default. Elements flow normally in the document. Top, right, bottom, and left have no effect. Most elements remain static.

positionstaticrelativeabsolutefixedsticky

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Frontend Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime