Question · HTML and CSS course · Module 3: CSS Basics
Position absolute
Relative to what is an element with position: absolute positioned?
Answer options
- Relative to the browser window (viewport)
- Relative to the nearest ancestor with a position other than static
- Relative to its original position in the document
- Relative to the <body> element
You can check the correct answer by solving this task in the CodeWorlds game.