Nerdy Design Details
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A personal blog post detailing CSS and design improvements made to a personal website. Covers a tri-state dark/light/auto theme switcher using aria-pressed, fluid typography with min/max/vw, styled blockquotes and callouts with gradient borders using background-clip tricks, typographic fleurons as decorative elements, squircle corners via the new CSS corner-shape property, improved focus styles with outline and scroll-margin-top, and smarter ad placement using Liquid templating and :has() CSS selector.
Table of contents
Working theme switcherFluid typographyCreative embedsFleuronsSquircle cornersClearer focus stylesBetter ad placementWrapping up4 Comments
Sort: