How to Detect AI-Generated Code in 30 Seconds
Open DevTools, inspect three elements, and look for one timing value: transition-all 0.3s ease-in-out. If all three match, you're reading AI output. Here's the full 30-second field guide.
Inspect any button on the page. If its transition reads transition: all 0.3s ease-in-out, inspect a card. If the card says the same thing, inspect a link. Three for three? You're looking at code a model wrote. Here's the full field guide.
The 30-Second Visual Test
Before you even open DevTools, look at the page. Check these five things:
- Is the primary color blue or indigo? Sample it. If it lands near
#3b82f6(Tailwind blue-500), +20 points on the slop scale. - Is the font Inter, Geist, or system-ui? If yes, +15 points.
- Are all cards the same size with the same border radius? Almost always
rounded-2xl. If yes, +10 points. - Is the hero centered with a big heading, subtitle, and two buttons (one filled, one ghost)? If yes, +15 points.
- Does hovering over anything trigger the exact same transition speed? If yes, +10 points.
Score 40 or higher and you're almost certainly looking at AI-generated code. If you want the visual-only version of this test in more depth, we built the 21-signs site checklist for exactly that.
The DevTools Audit (30 More Seconds)
Open DevTools and inspect a few elements. AI-generated code leaves fingerprints:
/* AI fingerprints in CSS */
transition: all 0.3s ease-in-out; /* every interactive element, same timing */
border-radius: 1rem; /* rounded-2xl everywhere */
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); /* shadow-md */
font-family: Inter, sans-serif; /* or Geist, the new Inter */
color: #3b82f6; /* blue-500 */
backdrop-filter: blur(12px); /* backdrop-blur-md on the navbar */Inspect three different elements. If they share the same transition timing, the same border radius, and the same shadow, that's slop. The single loudest tell is transition: all 0.3s ease-in-out repeated everywhere: a human picks transform for one thing and opacity for another, and varies the duration. A model picks all once and never thinks about it again. Our definitive list of 90+ AI design patterns catalogs the rest.
Now check the spacing. Inspect padding and margin values. If every single one is a multiple of 4 (8px, 12px, 16px, 24px, 32px), the code follows Tailwind's spacing scale with zero deviation. Hand-tuned design slips off-grid: a 15px gap here, a 30px section there, because a human eyeballed it against real content.
Read the computed styles, not the classes
Class names lie. A site can rename bg-blue-500 to bg-brand and look bespoke in the markup while computing to the exact same hex. So read the Computed tab, not the HTML. Pull the resolved color, convert it to HSL, and check the hue:
- Hue 200-290 (blue through violet) is the AI default range.
#3b82f6is hue 217. - A real brand color usually sits outside it, or at least shifts the saturation and lightness off the Tailwind preset values.
This is the same trick our CSS audit walkthrough uses on production sites.
A second check: the web scan
Once the page is deployed, the free web scan reads the rendered HTML and up to six stylesheets and checks eight defaults: the blue family, the blue to purple gradient, Inter or Geist, the three-card row, fade-up on scroll, repeated frosted glass, stock button copy and soft shadow cards. Each one it finds comes with the text it matched. It reads one page, not your repository; a command-line tool that reads source files is planned but not published.
Quick Wins: 5 Fixes That Do the Most
Found several tells? These five changes do the most:
- Change your primary color. Pick a hue outside 200-290. Warm tones (hue 10-40) or greens (hue 140-170) differentiate instantly. If you don't know where to start, pick an accent color that isn't Tailwind blue.
- Add a serif display font. Pair it with your sans body font and use it for h1-h3. See why Inter is killing your brand for pairings.
- Kill transition-all. Replace
transition: all 300ms ease-in-outwith a named property and a real curve:transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1). That overshoot curve gives a button a tiny spring instead of the flat machine ease.
- Vary your border radius. 4px for buttons, 7px for cards, 2px for input fields. The same radius everywhere is the signature of a single design token applied without thought.
- Use off-grid spacing. Swap p-4 (16px) for 14px or 18px. Use 5px for tiny gaps instead of 4px. Small shifts create organic rhythm the eye reads as deliberate.
Check a deployed page at sailop.com/scan.
Scan your site free
Eight AI-builder defaults, the evidence for each on your page, and the fix kit. Free, no account. If your site has more pages to fix, the site report covers up to 25 of them.
Read the whole site, with a fix prompt per default
Get told when the CLI ships