Best of CSS Tip — 2024
- 1
- 2
- 3
- 4
- 5
- 6
- 7
CSS Tip·2y
Full-bleed layout with modern CSS
Learn how to create a full-bleed layout using modern CSS. A full-bleed layout allows an element to extend beyond its container's boundaries, reaching the edge of the page. This tutorial provides various examples and compact syntax options for achieving this effect with CSS.
- 8
CSS Tip·2y
Typed CSS variables using @property
Stop defining your CSS variables inside :root and start using @property to create typed CSS variables. This approach enhances debugging, provides implicit data validation, allows animations where applicable, and makes variables available globally with default values.
- 9
- 10
- 11
- 12
- 13
- 14
- 15
CSS Tip·2y
Circular progress using scroll-driven animations
Learn how to transform the native progress element into a circular one using only the <progress> tag, with control via 'max' and 'value' attributes. This Chrome-only experiment leverages scroll-driven animations and the @property feature in CSS.