An interesting look at using padding only on the very lowest
element within a hierarchy (as Samantha says, the atoms of your
design) and therefore setting it globally. It's a logical approach,
though …
An interesting read that covers some of the basic terminologies
of typesetting, as well as the technicalities of how browsers
actually interpret the line-height value. Hint: it's not what you'd
…
🔖
How to change the background colour of a word in InDesign
I'm using InDesign increasingly it seems and overall
I really dig it, but I recently ran into a fairly simple
problem that doesn't have an official solution: inline code
styling. It's pretty much a …
📖
Gradient borders with rounded corners on input fields
Whilst putting together my new search page I ran into a problem: styling an input box so that it had a gradient border and rounded corners. Turns out there's a hack for that.
📖
Adding Search: User Interface (Algolia, Gatsby, Craft CMS - Part 2)
Having hooked up Algolia with my Gatsby build pipeline and populated a search index from my Craft CMS API, the next step was the build a frontend UI to enable users to actually query my posts. It turned out to be a pretty simple process.
Customising HTML lists often means sacrificing standard browser typesetting bonuses, like hanging indents. But with a little bit of modern CSS, you can get them back again, whilst still getting to use custom counters – like emoji 🚀
I'd never heard of a "skip link" before but
it's a neat idea that's clearly been around for some time.
Basically, it's a link placed at the very start of the <body>
that's …
A halfway solution to a design pattern that I see often, but have yet to find an easy way to implement: text that wraps so it is always fattest in the middle, and thinnest at either end.
Animating a grid element provides a lot of potential for fancy UIs and interesting interactions, but it's not immediately obvious when searching online how it needs to work and what the limitations are.
🔖
Modern CSS for dynamic component-based architecture
I have long sought a web-native way to achieve sidenotes with
CSS, and it turns out Eric is in the same boat. The new Anchor
Position API in CSS is seeking to solve that problem, and whilst it
…
An interesting look at whether the current mobile-first paradigm
is problematic. Ultimately, the title feels a little like
click-bait; to me the solution proposed remains mobile-first, but
suggests …
Every web developer has torn their hair out trying to align an
icon with some text, or two separate pieces of text with each
other, or (god forbid) a whole sequence of text nodes, icons, form
…