D3 Web Dev Blog
Field notes on Statamic, Laravel, design tokens, and the craft of building the web.
-
Three layers of CSS to hide a 2-pixel iOS Safari bug
The dark-mode reCAPTCHA looked correct everywhere except iOS Safari, where a thin bright edge framed the iframe. The fix was not one CSS rule. It was three, stacked.
-
Why I built this site on Statamic instead of WordPress
WordPress is the obvious answer when someone says they need a website. I picked Statamic. Here is the case for it, where it loses, and who should still pick WordPress.
-
My silly little dark mode toggle
A dark-mode switch should be one checkbox. I built one with eight clouds, three twinkling stars, a sliding sun-and-moon thumb, and a mask gradient to keep the clouds from popping. Here is why.