Coding task · HTML and CSS course · Module 3: CSS Basics

CSS Element Positioning

In the pharaoh's chamber, every object has its precise place. Use position: absolute on elements inside a container with position: relative to arrange treasures in the chamber. The top, left, right, and bottom properties control the exact position.

Task

Uncomment the CSS rules in the style.css file to arrange the treasures in the pharaoh's chamber. The .chamber container needs position: relative, and each .item needs position: absolute with the appropriate top/left/right/bottom values.