proomt

Search

Search posts, papers, and topics

All posts

Freek Van der Herten1 min readintermediate

Can we make default Tailwind a more accessible choice?

Summary

The post examines Tailwind’s default rem‑based breakpoints, showing how they scale with a user’s root‑font‑size and can shift layouts, which helps some users but can break designs. It argues that pixel breakpoints remain a defensible alternative for preserving layout stability while still supporting accessibility.

  • Tailwind’s default breakpoints use rem units, so they grow/shrink with the browser’s root font size.
  • Increasing the root font size can cause layout shifts that may break the intended design for users who need larger text.
  • Pixel‑based breakpoints keep layout dimensions constant regardless of user font‑size preferences, preserving design intent.
  • Mixing rem for typography with pixel breakpoints for layout can give a better accessibility‑performance balance.

Frontend engineers and design‑system teams using Tailwind should understand the trade‑offs between rem and pixel breakpoints to make accessible yet stable layouts.

5/10

Related reading

  1. Icons! Lots of them! – These Weeks in Firefox: Issue 206

    Firefox 154 adds a Windows‑only UI to change the default browser icon, exposes a new Picture‑in‑Picture WebAPI, and ships a raft of small but concrete improvements across Add‑ons, DevTools, WebExtensions, WebDriver and the Rust‑based login storage component. Most changes are toggles or bug‑fixes (e.g., CSS handling in the Debugger, startup‑performance regression fix, storage.local auto‑reset, and…

    Mozilla Automation Teammozilla.org13 min
  2. One App, More Than One Native Window

    Codename One now supports true native desktop windows via a new `Window` class that separates per‑surface state (paint queue, input routing, native peers) from the global `Display`. The change adds a `PaintSurface` abstraction, platform‑specific window back‑ends (AWT/Swing, Direct2D, GTK, UIWindowScene), and a migration path for components that assumed a single `Form`. Initial release has some UI…

    CodeName Onecodenameone.com11 min