HTML/CSS Advanced/Interactive exercise: position 2
0 XP of 35727 XP
// Task

Change the position property in the style.css file so that, as the page scrolls down, the yellow square sticks to the top and then scrolls away together with the items block once that block leaves the top of the page (as shown in the lesson). Leave the rest of the code unchanged. If you don't know how to solve the task, click the "Show answer" button.

🔒 localhost
Section 6 · Lesson 78Free Preview

Interactive exercise: position 2

IDE470 XP2:46
// lesson_notes

Change the position property in the style.css file so that, as the page scrolls down, the yellow square sticks to the top and then scrolls away together with the items block once that block leaves the top of the page (as shown in the lesson). Leave the rest of the code unchanged. If you don't know how to solve the task, click the "Show answer" button.