How UI Frameworks Like Tailwind and Bootstrap Affect Design Detection
Patrick Bushe
April 10, 2025 · 5 min read
Many websites are built with CSS frameworks such as Tailwind CSS and Bootstrap. Frameworks leave recognizable fingerprints in the code, and their defaults shape how a site looks. Knowing both helps when you're studying a design.
Spotting Tailwind
Tailwind uses small single-purpose class names written directly in the HTML. Inspect an element and you'll see classes like:
class="flex items-center gap-4 px-6 py-3 text-sm font-semibold rounded-lg"
- Spacing classes such as
p-4,mt-8andgap-2, based on a 4-pixel step. - Responsive prefixes such as
md:andlg:. - In Tailwind v4, CSS variables such as
--color-blue-500in the page's styles.
Spotting Bootstrap
- Layout classes:
container,row,col-md-6. - Component classes:
btn btn-primary,card,navbar. - In Bootstrap 5, CSS variables starting with
--bs-, and a default primary blue of#0d6efd.
What the defaults reveal
- Colors: unchanged framework palettes, like Bootstrap's blue or Tailwind's grays, suggest a site used defaults rather than a custom palette.
- Spacing: a strict 4- or 8-pixel rhythm often comes straight from the framework. See analyzing spacing systems.
- Fonts: Bootstrap 5 and Tailwind both default to the system font stack, so text looks like the visitor's operating system font.
- Components: Bootstrap's buttons, cards and navigation bars are easy to recognize if left unstyled.
When classes hide the framework
Some sites compile their styles into scrambled class names, such as css-1x2y3z, using tools like CSS Modules or CSS-in-JS. The framework, if any, is harder to see. Look at CSS variables, file names in the Network tab, or comments in the stylesheets instead.
Why detection tools still work
Browsers turn every framework class into final style values: a specific font, size, color and spacing. Tools that read those computed values see the result, whatever produced it.
- Font Detector shows the font family, size, weight and line height of any text you click.
- Color Palette Extractor lists the most-used colors on the page.
Use framework clues to understand how a site was built, and computed values to see exactly what it looks like.
Going further
See reverse-engineering a design system and extracting a site's CSS variables.