Skip to content

Instantly share code, notes, and snippets.

@Clockworkx
Clockworkx / index.html
Created October 8, 2025 14:19
Learn CSS - CSS Position Property
<main>
<div class="wrapper">
<article class="flow">
<h1>CSS Position Property</h1>
<figure class="callout">
<p>
Change the <code>position</code> style to see how the box behaves, both relative to its parent and the viewport.
For <code>position: sticky</code> and <code>position: fixed</code>, make sure you scroll to see the effect.
</p>
<p>