Tag

#CSS

2 posts

Design

Choosing a type scale that actually works

A type scale gives every heading and paragraph a predictable size. Pick a base size, choose a ratio, and stick to it. Body text is what people read most, so tune it first: 16–18px…

· 1 min read
AccessibilityDesign

Focus styles are not optional

Keyboard users rely on a visible focus indicator to know where they are on the page. Removing it with outline: none breaks navigation for them. Use :focus-visible so the ring…

· 1 min read