Search

Post types:
Categories:
📖

Pass API Data to the Stylesheet with CSS Variables

Read Article

I keep running into the same problem: how to set a style attribute in the CMS and have that be dynamically rendered on the front-end, without relying on inline styles. Turns out it's a great use case for CSS variables!

📖

Remember: Anger Leads to the Dark Side [#51]

Read Article

It is Christmas Eve and the penultimate week of the New 52 challenge! There's a nice symmetry to that, which, of course, is why I picked today to write a post... and nothing to do with it being the …

📖

IndieWebCamp London 2020

Read Article

I finally made it to an IndieWebCamp meetup, even if it was remote only due to the increasingly restrictive implications of the coronavirus. I learnt a lot, I had a great time, and I'm ready to start implementing a whole bunch of new ideas right here. I also took a huge number of notes from the speakers and sessions throughout the day.

📖

React Summit 2020 Notes

Read Article

Notes from the fully remote React Summit 2020 (or at least the talks I tuned in for). Lots covered, from static-site generators and the Jamstack through to React state management and accessibility. What a fun day!

🔖

How to change the background colour of a word in InDesign

Read Note

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 …

📖

About the Divide

Read Article

The idea of a great divide in front-end development resonated with me. I'm worried about how the erosion of certain skills could lead to a less inclusive, accessible web, for both users and developers. On the other hand, there are some massive advantages to our new tools. It's a double-edged sword.

🔖

Why a skip navigation link is useful

Read Note

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 …

🔖

CSS animations within SVG

Read Note

A very neat little trick. Embedding @keyframes within your SVG <style> element makes it animate when it loads, whether rendered as an image or a background (or, I assume, inlined). It can even …

🔖

Tailwind adds complexity, does nothing

Read Note

I've never understood the appeal of TailwindCSS. I've watched friends and colleagues get amped for it, seen their code, and just felt like it was a meaningless abstraction of the existing technology. …

🔖

Josh's custom CSS reset

Read Note

Josh has added some additional thoughts to Andy's CSS reset. Personally, I like a combination of the two (with a dash of Stephanie's best practices thrown in for good measure), but wanted to capture …

🔖

Nuclear anchored sidenotes

Read Note

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 …

🔖

What's new in WCAG 2.2

Read Note

A complete overview of the most recent WCAG 2.2 spec as it enters RC status, including quick overviews on the most common solutions to meet each new success …

📖

A Bookmark Feed

Read Article

Mastodon makes saving interesting links for later very easy, but getting these into a feed reader or note-taking service seemed impossible until I came across a neat little hosted solution.

🔖

Bidirectional text in HTML

Read Note

Today's obscure HTML element: <bdi>. It stands for "bidirectional" and refers to text that can include both RTL and LTR languages (does not appear to care about other …

🔖

Why centring is so hard

Read Note

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 …

Published:
Categories:
  • HTML & CSS
  • Typography
  • Web Design
Tags:
🔖

How the language attribute is damaging accessibility

Read Note

A first-hand account of how marking individual words or short, inline phrases as a different language (even when accurate) can be a jarring and inaccessible experience for many screen reader …