CSS usage, framework popularity, modern feature adoption, and AI-generated CSS statistics in 2026.

W3Techs detected CSS on 99.5% of websites as of 31 October 2026, so the open questions now sit one level down.

These CSS statistics cover feature adoption, frameworks, AI-written code, page weight and testing habits, drawn from W3Techs, State of CSS 2026, Project Wallace, the HTTP Archive Web Almanac 2025 and Stack Overflow’s 2026 survey.

CSS Statistics

CSS Statistics

99.5%of websites use CSS (W3Techs, Oct 2026)
83.7%of State of CSS 2026 respondents have used :has()
9.61%of ~100,000 homepages use @container
8CSS requests on the median page (July 2025)
26%of survey respondents generate no CSS with AI

How Many Websites Use CSS in 2026?

CSS appears on 99.5% of all websites W3Techs monitors. The share holds steady across traffic ranks, from 99.3% in the top 1 million to 99.7% in the top 1,000.

Website groupShare using CSS
All websites99.5%
Top 1,000,00099.3%
Top 100,00099.4%
Top 10,00099.5%
Top 1,00099.7%

Source: W3Techs, 31 October 2026

Inline styles are the most common delivery method, found on 93.9% of sites that use CSS. External stylesheets follow at 93.2%, and embedded <style> blocks at 83.8%.

W3Techs notes that one site can use several methods, so these shares overlap. Each method scores 1.0 on its top-site index, meaning it is as common among the top 1,000 sites as across all sites.

Source: W3Techs, subtechnology data 31 October 2026; top-site scores 5 November 2026

Modern CSS Feature Adoption on 100,000 Homepages

Project Wallace analyzed the homepage CSS of roughly 100,000 domains from the Majestic Million list for its first CSS Selection report. @media appears on 93.06% of those homepages, @container on 9.61% and @layer on 2.71%.

Tailwind CSS custom property names such as –tw-border-style top the @property list. Report author Bart Veneman ties most @property use to frameworks.

Source: Project Wallace, The CSS Selection, 2026 edition

Selectors, units and color formats

FeatureTypeShare of analyzed homepages
:hoverPseudo-class95.24%
:where()Pseudo-class90.56%
:has()Pseudo-class41.30%
:is()Pseudo-class36.31%
pxUnit98.28%
remUnit80.15%
frUnit60.23%
dvhUnit10.32%
oklchColor format1.89%

Source: Project Wallace, The CSS Selection, 2026 edition

:where() ranks second among pseudo-classes in that dataset, ahead of :focus at 88.57%. Old browser hacks persist, with the IE 6/7 *property hack on 18.75% of homepages.

Anchor Positioning Tops the State of CSS 2026 Wishlist and Blocklist

State of CSS 2026 ran from May 15 to June 29, 2026 and drew 4,902 opt-in responses. Anchor Positioning led the favorite new feature question with 168 mentions from 913 respondents, up four places on 2025.

The same feature tops the list of features developers avoid over browser support, with 121 mentions from 632 respondents. It also posted the survey’s largest year-over-year usage increase, at 15%.

Feature avoided over browser supportMentions (632 respondents)
Anchor Positioning121
View Transition API58
Scroll-driven animations45
@function40
if()34
Customizable Select33
@container size queries24

Source: State of CSS 2026, survey run May-June 2026

Which CSS features do developers use most?

:has() leads usage at 83.7% of respondents, followed by aspect-ratio at 81.3% and CSS Nesting at 70.6%. Gap decorations recorded the lowest usage, at 3.7%.

Respondents still saved gap decorations to their reading lists 1,823 times, more than any other item. Grid Lanes followed with 1,756 saves and calc-size() with 1,691.

Source: State of CSS 2026, survey run May-June 2026

Interop 2025 cross-browser results

97%of selected Interop 2025 tests passing in all browsers, end of 2025

Interop 2025 ended with 97% of selected tests passing in all browsers, up from 29% at the start of the year. Chrome Canary, Edge Dev, Firefox Nightly and Safari Technology Preview each scored 99%.

Safari Technology Preview climbed from 43 to 99, per WebKit, which states anchor positioning now works interoperably across browsers. Those 99% scores come from preview builds, while real visitor traffic splits across engines as our Blink, Gecko and WebKit share data shows.

Source: WebKit, Interop 2025 review, 6 February 2026

Which CSS Frameworks Lead in 2026?

Bootstrap runs on 13.0% of all websites W3Techs tracks, a 74.8% share among sites using a monitored framework. Tailwind sits at 0.3% of websites, a 1.8% framework share, while 82.6% of sites use none of the monitored frameworks.

Source: W3Techs, 4 November 2026

Developer surveys rank them differently. Tailwind CSS is the most selected framework among 3,697 State of CSS 2026 respondents, ahead of “None” and Bootstrap.

FrameworkRespondents (of 3,697)
Tailwind CSS1,854
None1,042
Bootstrap982
shadcn/ui802
Custom/in-house framework705
Material UI692

Source: State of CSS 2026, survey run May-June 2026

Pre-processors and linting tools

Sass/SCSS leads pre- and post-processors with 2,032 of 3,656 answers, followed by PostCSS at 1,284. The survey authors describe pre-processor use as declining.

General formatters outrank CSS-specific tools: Prettier drew 2,589 of 3,695 answers and ESLint 2,418, against 1,147 for Stylelint. Editor choices sit in our VS Code, Vim and Emacs usage figures.

Source: State of CSS 2026, survey run May-June 2026

AI-Generated CSS Statistics

The median State of CSS 2026 respondent says 13% of their CSS is AI-generated, and 26% generate none at all. The question drew 3,732 answers.

Of those answers, 980 picked 0% and 64 picked the top bucket, 100% AI-written. Survey comments pointed to weak AI output for CSS.

Hand-learning is uneven as well: 290 of 3,701 respondents have learned about and tried most new features, while 1,144 tried some. CSS happiness averaged 4 out of 5, against 3.8 for web technologies in general.

Source: State of CSS 2026, survey run May-June 2026

What Does CSS Add to Page Weight?

The median mobile home page loaded 77 KB of CSS and 632 KB of JavaScript in the Web Almanac 2025 crawl, the same July 2025 dataset behind our WebAssembly adoption statistics. Desktop home pages loaded 82 KB of CSS.

Median CSS bytes grew 4 KB year over year, and the 90th percentile grew 8 KB. Pages make a median of 8 CSS requests on desktop and mobile, rising to 31 at the desktop 90th percentile.

Home and inner pages load the same median of 8 stylesheets. The chapter authors read this as sites shipping one CSS set across the whole site.

Every Minify CSS pass rate fell 1 point from 2024. Mobile home pages passed the Minify JavaScript audit at 63%.

Page type (July 2025)Passing Lighthouse Minify CSS audit
Desktop home pages61%
Mobile home pages62%
Desktop inner pages61%
Mobile inner pages61%

Source: HTTP Archive Web Almanac 2025, Page Weight chapter, July 2025 crawl

Project Wallace measures uncompressed CSS rather than transferred bytes. Its median homepage ships 309 kB of CSS, and the 90th percentile 1.12 MB.

Source: Project Wallace, The CSS Selection, 2026 edition

Testing Environments and Browsers: CSS Statistics From 3,781 Developers

Environment testedRespondents (of 3,781)
Desktop3,774
Smartphone2,510
Tablet1,570
Desktop with keyboard only1,300
Testing tools (Axe, Lighthouse)1,054
Screen reader799
Print477

Source: State of CSS 2026, survey run May-June 2026

Desktop testing is near universal at 3,774 respondents. Screen readers drew 799 answers and print 477.

Chrome is a primary development browser for 2,744 of 3,787 respondents, Firefox for 1,972 and desktop Safari for 953. Visitor-side page view shares appear in our Chrome vs Firefox vs Safari vs Edge comparison.

22% of respondents reported using a non-major browser, with Brave at 425 and Zen at 228.

Source: State of CSS 2026, survey run May-June 2026

How many developers use HTML/CSS?

HTML/CSS was used by 58.2% of 14,099 respondents in the Stack Overflow 2026 Developer Survey. SQL edged past it for second place at 58.4%, behind JavaScript at 62.0%.

Among respondents with 16+ years of work experience, HTML/CSS use stands at 56.4%. Rankings from other indices are compiled in our web development language statistics.

Source: Stack Overflow Developer Survey 2026, published October 2026

FAQs

What percentage of websites use CSS?

99.5% of all websites use CSS, according to W3Techs data from 31 October 2026. Usage reaches 99.7% among the top 1,000 sites and 99.3% among the top 1 million.

What is the most popular CSS framework?

Bootstrap leads on live websites at 13.0%, per W3Techs on 4 November 2026. Among State of CSS 2026 respondents, Tailwind CSS ranks first with 1,854 of 3,697 selections.

Which new CSS feature is used most?

:has() ranks first in State of CSS 2026 usage at 83.7% of respondents, ahead of aspect-ratio at 81.3%. Project Wallace’s 2026 crawl finds :has() on 41.30% of analyzed homepages.

Is CSS dying, as some Reddit threads claim?

No published dataset here shows a decline. W3Techs detects CSS on 99.5% of websites as of October 2026, and State of CSS 2026 respondents rated CSS happiness at 4 out of 5.

How much CSS is written by AI?

The median State of CSS 2026 respondent reports 13% of their CSS as AI-generated. 26% generate none, based on 3,732 answers collected May-June 2026.

Sources

https://w3techs.com/technologies/details/ce-css

https://2026.stateofcss.com/en-US/

https://www.projectwallace.com/the-css-selection/2026

https://almanac.httparchive.org/en/2025/page-weight

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.