#HTML
3 posts tagged HTML. All posts
The CSS :has() selector: styling parents and siblings without JavaScriptPractical :has() patterns: form validation states, cards with images, previous-sibling and quantity queries, plus the selector's rules, performance notes and support.
CSS size queries: components that respond to their own widthUse CSS container queries, container-type, named @container rules and cqi units to build a card that changes layout based on its slot, not the viewport.
Generating email templates with Claude CodeHow the YellowSheet free-demo email campaign was rebuilt as email-safe HTML with an AI coding agent, and what it took to ship it on a legacy PHP stack.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)