1. Home
  2. Blog
  3. CSS & Design

CSS & Design

Modern CSS, design systems and accessible UI: anchor positioning, scroll-driven animations, tokens and forms.

Flat vector illustration of a web dashboard loading with gray skeleton placeholder cards beside a spinner and a small code editor panel
CSS & Design 17 min read

Skeleton Screens vs Spinners vs Progress Bars: When to Use Each

How I choose between skeleton screens, spinners and progress bars: what each one is for, how long to wait before showing a loader, matching skeletons to the real layout to avoid layout shift, aria-busy and live regions, reduced motion, and skeletons with React Suspense and Next.js loading.js.

CSS & Design 21 min read

WCAG 2.2 Checklist: 6 New Accessibility Rules and How to Fix Them on Real Sites

The six new WCAG 2.2 A and AA rules in plain words, how they fail on real sites, and the CSS and JS fixes I use for focus, targets, drags and logins.

Flat vector illustration of a central design token file feeding color swatches, spacing blocks and code panels for web, React and WordPress
CSS & Design 14 min read

Design Tokens for a Design System: A Practical Setup for CSS, Tailwind, React and WordPress

How I set up design tokens on client projects: primitive, semantic and component tiers in the W3C DTCG format, CSS custom properties with Style Dictionary, dark mode, Tailwind and React usage, WordPress theme.json mapping and the mistakes to avoid.

Vector illustration of an accessible form layout with label lines, focus ring, and error callout in orange-red accent
CSS & Design 17 min read

Accessible Forms in 2026: Labels, Errors, and Focus That Screen Readers Trust

Learn accessible forms in 2026 — native labels, aria-describedby errors, focus after submit, live regions, autocomplete tokens, and keyboard plus screen reader testing for React and WordPress.

A button acting as an anchor with a tooltip and dropdown menu tethered to its edges
CSS & Design 11 min read

CSS Anchor Positioning in 2026: Tooltips and Menus Without JS Math

I used to measure dropdowns with getBoundingClientRect(), glue them with position: fixed, and pray the user did not scroll. Tooltips needed a library. Context menus needed more JavaScript. Every “simple” overlay turned into a positioning bug report. In 2026 that habit is optional for a lot of UI work. CSS anchor positioning lets you tether […]

Content cards revealing progressively as a page scrolls, linked to a scroll timeline with keyframes
CSS & Design 13 min read

CSS Scroll-Driven Animations in 2026: Build Scroll Effects Without JavaScript

Learn CSS scroll-driven animations in 2026—animation-timeline, scroll(), view(), progress bars, parallax, and when to ditch IntersectionObserver or GSAP for better Core Web Vitals INP.

Up and down to move, Enter to go, Esc to close

Before you go

Planning a website launch?

Read the checks I run before any site goes live: speed, SEO, forms, accessibility and backups.

Read the launch checklist Ask on WhatsApp