Should you remove the focus outline in CSS?
Never ship outline: none. Draw a 2 px ring 2 px outside each control, at 3:1 contrast or more, on :focus-visible.
Open lesson: Should you remove the focus outline in CSS?One UI fix a day. Every video, with the rule written down and a demo to try.
29 lessons
Never ship outline: none. Draw a 2 px ring 2 px outside each control, at 3:1 contrast or more, on :focus-visible.
Open lesson: Should you remove the focus outline in CSS?28 earlier lessons
Pulse live status only: a 1.5 to 2 s loop, stopped under 5 s.
Accent on 10% of the screen at most, and only on actions.
Ease out to enter, ease in to leave, 100 to 500 ms by distance.
On press: 0.97 and one step darker in 100 ms, back on release.
Every gap a multiple of 4: 8 inside a group, 24 between.
Answer at 0.1 s. Spin at 1 s. Time left at 10 s.
Yours when you join the newsletter: UI fixes and AI design skills, by email.
Get the guideLet people press the button, then point them to the fix.
Shape, colour, cursor and hover: four cues that say click me.
Give headings a floor and a ceiling, and let them flow in between.
Springs keep their speed when interrupted. Curves start over.
Check when they leave the field, and say how to fix it.
Group with space: small gaps inside a group, big gaps between.
Show the shape at its final size, so nothing jumps.
Live numbers jiggle. Tabular figures give every digit one width.
Name each colour by the job it does, not by how it looks.
Move with transform, fade with opacity, and leave width alone.
Grey text needs 4.5:1. Large text and control edges need 3:1.
One button, eight states: design every one before you ship.
Yours when you join the newsletter: UI fixes and AI design skills, by email.
Get the guideUpdate on the tap, sync behind it, and roll back out loud.
Give your AI agent design skills, and use them in order.
Build hierarchy in one font with size, weight and colour.
Size targets by input: 44 px for a finger, 24 px for a cursor.
Let two colours carry the page, then spend 10% on one accent.
Declare color-scheme, then design the dark theme yourself.
Showing 24 of 28
Free guide · 35 pages
Join the newsletter and get the free 35-page guide to AI design skills: 16 skills, the order to use them in and prompts to copy.