Astro buttons that lift and glint on hover in pure CSS — what I kept from glassmorphism
A shared CSS hover effect for a static Astro blog: lift, an accent-tinted sweep, accent border and glow, with Astro scoped-style and Pagefind specificity traps.
A shared CSS hover effect for a static Astro blog: lift, an accent-tinted sweep, accent border and glow, with Astro scoped-style and Pagefind specificity traps.
A rehype plugin for Astro MDX that draws a colour swatch before every inline-code hex colour, chosen over a Swatch component so existing articles need no edits.
A build-time rehype plugin for Astro that puts simple-icons brand marks on links to GitHub, MDN and Vercel as an inline SVG sprite, safe under a strict CSP.
Pinch-zooming out on an iPhone shrank this blog below 100%. WebKit takes its zoom floor from content width, so the fix was overflow-wrap and a table scroll box.
Astro article pages ran narrow and small at 68ch/17px. Widening them against dev.to's own numbers also fixed a CJK line-length bug the ch unit had hidden.
Why width:100% blurred a 256px screenshot in Astro, and how a native dialog made every diagram readable on a phone. Seven measurements corrected the design.
Share buttons in Astro built from intent URLs: a different target set per locale, a sticky icon rail on wide screens, and the endpoint drift found on the way.
Follow-the-reader scrolling, a shared rail, and the ::details-content box that silently ate a mobile max-height in an Astro table of contents.