This guide looks at web design trends for 2027 through what browsers now ship. Over 2025 and 2026, scroll-driven animations, popovers and anchored tooltips reached every major browser, and page transitions reached Chrome and Safari. Features that used to need JavaScript are now plain CSS and HTML, which changes what designers can propose and what developers can build in a normal budget.
Every trend below rests on a primary source: browser release notes, MDN, webstatus.dev, W3C, the HTTP Archive's Web Almanac, or government pages. We checked each one on November 26, 2026. When we say a site uses a feature, we checked it in the browser, not just in its stylesheet.
The Short Version
- Scroll-driven animations work everywhere, with no JavaScript.
- Page transitions come to ordinary multi-page sites.
- Popovers, dialogs and hover cards need no JavaScript.
- Tooltips and menus attach themselves with anchor positioning.
- Dropdowns you can finally style are arriving.
- Colour adapts by itself, though dark mode is rarer than you'd think.
- Headlines wrap neatly, and variable fonts keep spreading.
- Components react to their own context.
- Layout gets smarter, and masonry has a name: grid lanes.
- Softer shapes and glass, led by operating systems.
- Accessibility deadlines get real.
- Sites get built for AI agents too.
1. Scroll-Driven Animations Work Everywhere
Animations tied to scroll position, such as a progress bar, a header that shrinks, or content that fades in as it enters the screen, used to need a JavaScript library. Firefox 159 turned them on by default on October 27, 2026, so webstatus.dev now lists scroll-driven animations as Baseline, which means every core browser supports them. Chrome has had them since version 115 and Safari since 26.

@media (prefers-reduced-motion: no-preference) {
.reveal {
animation: fade-up linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}
}
@keyframes fade-up { from { opacity: 0; translate: 0 2rem; } }

Stripe and Ahmad Shadeed's site both run scroll timelines in production. Chrome is already testing the next step: scroll-triggered animations, which start a normal animation once a scroll point is crossed, "a declarative alternative to IntersectionObserver." Our shrinking sticky header tutorial uses the same technique.
For 2027: scroll effects no longer cost a library or a performance budget. Wrap them in prefers-reduced-motion, as above.
2. Page Transitions Come to Multi-Page Sites
Smooth transitions between pages used to be a reason to build a single-page app. View transitions within one page became Baseline on October 14, 2025. Transitions between separate pages, turned on with one CSS rule, work in Chrome 126 and later and Safari 18.2 and later. Firefox has them only in preview builds, so Firefox users simply get a normal page load.

@media (prefers-reduced-motion: no-preference) {
@view-transition { navigation: auto; }
}
.site-logo { view-transition-name: logo; }
View transitions are also an Interop 2026 focus area, the yearly list of features that Apple, Google, Microsoft, Mozilla and others agree to make consistent across browsers.
For 2027: designers can spec page-to-page motion for a plain multi-page site or a static site, and it degrades gracefully.
3. Popovers, Dialogs and Hover Cards Without JavaScript
The building blocks of most interface overlays are now HTML. The popover attribute has been Baseline since January 2025, and invoker commands (command and commandfor, which let a button open a dialog or popover with no script) since December 2025. @starting-style and transition-behavior, which animate elements as they appear and disappear, have been Baseline since August 2024.
The next layer is hover cards. popover="hint" is in Chrome 151 and Firefox 153, and interest invokers (an interestfor attribute that shows a popover on hover or focus) are in Chrome 142 and later only.
<button commandfor="menu" command="toggle-popover">Menu</button>
<div id="menu" popover>…</div>
[popover] { transition: opacity .2s, display .2s allow-discrete, overlay .2s allow-discrete; opacity: 0; }
[popover]:popover-open { opacity: 1; }
@starting-style { [popover]:popover-open { opacity: 0; } }
For 2027: menus, modals and tooltips can be designed with smooth entry and exit animations and built with far less code. Our older pure CSS modal tutorial shows how much of this used to take hacks.
4. Tooltips and Menus Attach Themselves
CSS anchor positioning tethers a tooltip, menu or popover to the element that opened it, and flips it to the other side when there's no room. Chrome shipped it in version 125, Safari in 26 and Firefox in 147 (January 2026), according to MDN. webstatus.dev still lists the full feature group as "limited," because later parts of the spec are still landing. Safari 27, for example, changed the default value of position-anchor.
.trigger { anchor-name: --menu-btn; }
.menu {
position: fixed;
position-anchor: --menu-btn;
position-area: block-end span-inline-end;
position-try-fallbacks: flip-block;
}
For 2027: anchor positioning itself has shipped in all three engines. Test fallbacks and edge cases, because the spec is still settling. It's an Interop 2026 focus area for that reason.
5. Dropdowns You Can Finally Style
The native <select> has always been the element designers give up on. With appearance: base-select, you can style the button, the dropdown and each option, including images and rich text inside options. Chrome has supported it since version 135, and Safari since 27 (September 2026). WebKit calls it "a multi-vendor effort." Firefox 149 has it behind a flag.
select, ::picker(select) { appearance: base-select; }
select { border-radius: .5rem; padding: .5rem 1rem; }
::picker(select) { border: 1px solid #ccc; border-radius: .75rem; }
We didn't find a production site using it yet, so this one is early. Browsers that don't support it show the normal select.
For 2027: design custom dropdowns as an enhancement on top of the native element, not a JavaScript replacement.
6. Colour Adapts by Itself
Two colour functions matter for design systems. light-dark() picks one of two values depending on light or dark mode, and it reached Baseline "widely available" on November 13, 2026, meaning it's been in every core browser for 30 months. contrast-color() returns black or white, whichever has more contrast against a given colour, and has been Baseline since April 2026.

:root { color-scheme: light dark; }
body { background: light-dark(#fff, #111); color: light-dark(#111, #eee); }
.badge { background: var(--brand); color: contrast-color(var(--brand)); }
A reality check: the Web Almanac 2025 found prefers-color-scheme on "about 13%" of pages, with "little change" from the year before. Dark mode is a common trend-list item but still a minority choice on real sites.
For 2027: build colour tokens with light-dark() so dark mode costs little to add, and use contrast-color() for text on brand colours.
7. Headlines Wrap Neatly, and Variable Fonts Spread
text-wrap: balance evens out line lengths in headings, and it became Baseline widely available on November 13, 2026. text-wrap: pretty, which avoids a single word on the last line of a paragraph, works in Chrome and Safari but not Firefox. Stripe applies pretty to hundreds of text elements on its homepage.
Variable fonts, which pack many weights into one file, keep spreading. The Web Almanac 2025 found "39.4% of desktop websites and 41.3% of mobile websites used at least one variable font," up from "roughly 33% on desktop and 34% on mobile in 2024."
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
For 2027: add these two lines to every project. Choose variable fonts when a design uses several weights.
8. Components React to Their Own Context
Container queries, which style a component by the size of its container instead of the screen, have been Baseline widely available since August 2025. In May 2026, container style queries joined them as Baseline: a component can now change its look based on a custom property set by its parent, such as a "dark" or "compact" variant.
.card { container-name: card; }
@container card style(--tone: dark) { .card__title { color: white; } }
CSS is getting logic too. The if() function lets one property switch value on a media query or a style condition. It's in Chrome 137 and later, and in the Safari 27.3 beta, so it's not ready for production yet.
For 2027: design components as self-contained variants that respond to where they're placed, not one layout per screen size.
9. Layout Gets Smarter, and Masonry Is Called Grid Lanes
Several layout tools crossed the line in 2026:
:has(), the "parent selector," became Baseline widely available in June 2026.field-sizing: content, which grows a text field with its content, became Baseline in June 2026.- Scroll-state queries style a sticky header only when it's stuck. They're in Chrome only, since version 133.
- Masonry layout now has a final name,
display: grid-lanes. MDN notes that "Grid lanes layout is often referred to as masonry layout." Safari 26.4 shipped it in March 2026. Chrome and Firefox don't have it in stable releases yet.
.gallery { display: grid; display: grid-lanes; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
textarea { field-sizing: content; min-block-size: 3lh; }
The gallery rule falls back to a normal grid where grid lanes aren't supported. For the basics, see our guide to Flexbox vs Grid.
10. Softer Shapes and Glass, Led by Operating Systems
The biggest visual signals came from operating systems. In June 2025 Apple introduced Liquid Glass, "a new material" that "reflects and refracts its surroundings," calling it "our broadest software design update ever." In May 2025 Google launched Material 3 Expressive for Android and Wear OS, backed by what it says were "46 separate research studies" with "more than 18,000 participants." Neither company has announced a web version, but designers copy what they see on their phones.

On the web, the glass look comes from backdrop-filter, Baseline since September 2024. Apple's own navigation bar uses saturate(1.8) blur(20px), and Linear's header uses a similar blur.
.nav { background: rgb(255 255 255 / .6); backdrop-filter: saturate(1.8) blur(20px); }
.app-icon { border-radius: 24px; corner-shape: squircle; }
The second line is corner-shape, which turns rounded corners into squircles, bevels or notches. Chrome calls it experimental, and it's in Chrome 139 and later and the Safari 27.3 beta. Framer's homepage already uses it, so Chrome and Edge users see smoother corners and everyone else sees normal rounded ones.

For 2027: glass works as a light touch on navigation and overlays, as long as text contrast holds. Squircles are a safe enhancement, because unsupported browsers fall back to rounded corners.
11. Accessibility Deadlines Get Real
The European Accessibility Act came into effect on June 28, 2025, covering services such as e-commerce and banking. In the US, the Department of Justice's rule for state and local government websites uses WCAG 2.1 Level AA. In April 2026, an Interim Final Rule extended its deadlines by a year: "April 26, 2027" for governments serving 50,000 people or more, and "April 26, 2028" for smaller ones.

WCAG 2.2 has been a W3C Recommendation since December 2024. Its new criteria hit design directly: focus must not be hidden behind sticky headers (2.4.11), targets need a minimum size (2.5.8), and dragging needs an alternative (2.5.7). WCAG 3 is still a draft, and the W3C says it "still has several years of work."
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
html { scroll-padding-top: 5rem; } /* keeps focused items out from under a sticky header */
There's room to improve: the Web Almanac 2025 found sufficient colour contrast on only 30% of sites. Our guide to semantic HTML for accessibility covers the foundations.
12. Sites Get Built for AI Agents Too
AI agents that browse and act on sites are now something Chrome measures. Lighthouse has an experimental "Agentic Browsing" category that checks for WebMCP tools, an llms.txt file, layout stability and "accessibility for agents." Its docs explain that "Agents rely on the accessibility tree as their primary data model."

- WebMCP lets a page register tools, such as "search products," that an agent can call. It's in a Chrome origin trial since Chrome 149, not a standard.
llms.txtis still "a proposal," and the Web Almanac 2025 found valid files on only 2.13% of desktop sites.- AI browsers come and go. OpenAI's ChatGPT Atlas "has been retired and no longer receives updates." Perplexity's Comet runs on Mac, Windows, iOS and Android.
For 2027: the practical move isn't a new file format. It's good semantic HTML, labelled forms and stable layouts, which help both people using assistive technology and agents. See also how to get your site into ChatGPT.
What Stays the Same: Speed
Core Web Vitals haven't changed: LCP within 2.5 seconds, INP of 200 milliseconds or less, and CLS of 0.1 or less. In Chrome's October 2026 field data, 56.3% of sites had good Core Web Vitals. One change is coming: Chrome's field data has new experimental metrics that count in-app page changes on single-page apps, which Google plans to include "from May 2027." Heavy animation and motion trends still have to fit these limits.
How We Researched This
On November 26, 2026 we checked each feature's status on webstatus.dev and MDN's browser compatibility data, and read the release notes from Chrome, Firefox and WebKit, the Interop 2026 announcement, the W3C's WCAG pages, ADA.gov and the European Commission's EAA pages, and the HTTP Archive's Web Almanac 2025. For the example sites, we confirmed the CSS was applied in a real browser, not only present in a stylesheet. We didn't use other trend roundups. When sources disagreed, as with anchor positioning's version numbers, we said so.
FAQ
What are the top web design trends for 2027?
Scroll-driven animations and page transitions without JavaScript, native popovers and stylable dropdowns, colour that adapts with light-dark(), components that respond to their container, glass effects and squircle corners, accessibility deadlines in the EU and US, and sites built to work with AI agents.
Are scroll animations bad for accessibility?
They can be for people sensitive to motion. Wrap them in @media (prefers-reduced-motion: no-preference) so they run only for users who haven't asked for less motion. The Web Almanac 2025 found that about half of pages already use that query.
Is dark mode still a trend?
It's popular in trend lists, but the Web Almanac 2025 found prefers-color-scheme on only about 13% of pages. With light-dark() now widely supported, adding it is cheaper than it used to be.
Can I use CSS masonry layout yet?
Only in Safari 26.4 and later, under its final name display: grid-lanes. Declare a normal grid first so other browsers get a regular grid.
Do I need an llms.txt file?
It's optional. It's still a proposal, used by about 2% of sites, though Lighthouse's experimental Agentic Browsing category checks for it. Clear semantic HTML and labelled forms matter more for agents.
Will Liquid Glass come to the web?
Apple hasn't announced anything for the web. You can build a similar look with backdrop-filter, which every major browser supports, as Apple's own website does for its navigation bar.
