The Sticky Shield

Hard+50 XP

Mission Briefing

The grid is scrolling fast! Spark must stick to the top edge as long as the container is visible.

The Concept: Sticky

position: sticky toggles between relative and fixed depending on the scroll position.

The Objective

  1. Target #spark-1.
  2. Set position to sticky.
  3. Set top: 0.

Constraints

    cssposition
    Live Visual Output
    style.css
    Loading...