Category Archives: CSS

Hebog typography

Poking at my <kbd>

by

I’ve had a really productive day working on the typography for a client’s site, and along the way I found myself giving the much-overlooked <kbd> element a bit of a spruce-up. Not that the client will likely be using the element much, but the thought struck me I hadn’t really done anything much to style…

Posted in CSS | Tagged , , , | Leave a comment

Failed Lighthouse test

Fixing the NO_LCP error in Lighthouse

by

I redesigned this site recently. You might have noticed. Maybe not if it’s your first time here, that’s ok too. Those full page splash images with everything fading into view look pretty snazzy but there’s one small problem: the Lighthouse test’s Largest Contentful Paint test fails to pick up on any element that starts at…

Posted in CSS | Tagged , , | 1 Comment