On this page
What this issue is
Browsers ignore CSS they cannot parse. That is useful, because a new rule does not crash the page. But it means a layout built only on a new feature simply loses that styling in browsers that lack it.
Two features cause most surprises. :has() is a selector that styles a parent based on its children, for example highlighting a field wrapper when the input inside it is invalid. Container queries (@container) change a component's layout based on the width of its parent box instead of the whole screen. Both are newer than older iOS, Safari, Firefox and Android WebView versions, which may not support them.
The break shows up when the unsupported rule was doing essential work: showing or hiding a block, setting a grid, sizing a button or aligning a form. Without it the page falls back to default browser styling, which can look wrong or be unusable.
Why it costs you leads or sales
Most visitors will never notice, which is why the business impact is usually low. The damage is concentrated in the people on older devices or less common browsers. If their form fields overlap, a submit button sits under another element, or a hidden panel stays hidden, they cannot finish the step.
- Ad clickVisitor lands on the page
- Page rendersBrowser skips the :has() / @container rule
- Form stepButton overlaps or field is hidden
- SubmissionNever happens
The page loads fine, but the one rule that lays out the form is dropped, so the visitor cannot continue.
Example: a small share of traffic on older browsers hits the broken layout, so the loss is narrow but real. Check your own analytics for the real split.
How to check if your site has it
Search your CSS for the features
Search your theme, stylesheet or page builder custom CSS for
:has(and@container. Note which components use them.Check if the rule is essential
Ask: if this rule vanished, would a field, button or price disappear or overlap? If yes, it needs a fallback.
Look up browser support
Check each feature on caniuse.com and compare the supported versions with the browsers in your analytics.
Test in real browsers
Open the funnel pages in current Safari, Firefox and an older iPhone or Android if you have one. BrowserStack or a similar device service also works. Walk through the form or checkout.
Disable the rule to preview the fallback
In Chrome DevTools, untick the
:has()or@containerrule in the Styles panel. What you see is what unsupported browsers see.
How to fix it
The principle is the same everywhere: base styles first, enhancement second. The default layout must work on its own. The modern rule only improves it.
/* Works everywhere */
.field { display: block; }
.field input { width: 100%; }
.field .error { display: block; color: #b00020; }
/* Only when :has() is supported */
@supports selector(:has(*)) {
.field .error { display: none; }
.field:has(input:invalid) .error { display: block; }
}
/* Container query with a stacked default */
.card { display: block; }
.card-wrap { container-type: inline-size; }
@supports (container-type: inline-size) {
@container (min-width: 480px) {
.card { display: grid; grid-template-columns: 1fr 1fr; }
}
}Find the source
Search the theme, child theme and any page builder custom CSS (Appearance > Customize > Additional CSS) for
:has(and@container.Add the fallback
Put the plain rule first and wrap the modern rule in
@supports. Use a child theme so updates do not overwrite your change.
Search theme files
In Online Store > Themes > Edit code, search the assets and sections for
:has(and@container.Add the fallback
Duplicate the theme first, then add a default layout and wrap the modern rule in
@supports. Test the product and cart pages.
Check custom code
Look in Page settings and Site settings > Custom code, and in embed elements, for
:has(or@container.Prefer built-in breakpoints
Where possible, use Webflow's own breakpoints for layout and keep new CSS for small enhancements.
Add @supports
Wrap modern rules in
@supports selector(:has(*))or@supports (container-type: inline-size)with a working default above.Use a build step if needed
If you use PostCSS, a container query plugin or a Browserslist target can warn you about unsupported features. Check your toolchain's docs.
Before
- Error text hidden by default and shown only via :has()
- Two-column card exists only inside @container
- Older browser drops the rule and the layout collapses
After
- Plain stacked layout works everywhere
- Modern rules sit inside @supports
- Older browsers get a simpler but usable page
How to confirm it's fixed
- The form and button are visible and clickable in current Safari and Firefox
- The layout is usable with the modern rule disabled in DevTools
- An older iPhone or Android browser can complete the funnel
- A test submission arrives in your inbox or CRM
- No overlapping elements at mobile widths
How to prevent it happening again
- Check caniuse.com before using a new CSS feature on a conversion page
- Write the fallback first, then add the enhancement
- Keep a browser support list based on your own analytics
- Test Safari and Firefox before every release, not only Chrome
- Re-test after theme or plugin updates, which can add new CSS
How FunnelGuard handles this
FunnelGuard covers this issue only partly. It runs your real customer journeys on a schedule, including a Safari and Firefox run. If unsupported CSS breaks a step there, for example a button that cannot be clicked or a field that cannot be reached, that step fails and you get one alert with a screenshot and a likely cause.
What it does not do: it does not compare how pages look. Purely visual breakage, such as odd spacing, a misaligned card or a layout that is ugly but still works, is not flagged because the journey still completes.
To cover the rest by hand, open your key pages in Safari, Firefox and an older phone after each design change, and compare them with Chrome. Use the checklist above. You can start with the Free plan (1 site, 2 journeys, daily checks, no card) or a free read-only website audit.
Questions people ask
Why is my layout broken in Safari but fine in Chrome?
Safari may not support a CSS feature your design relies on, such as :has() or container queries in older versions. Unsupported rules are dropped silently, so the layout loses that styling. Check the rule on caniuse.com and add a fallback.
Does CSS :has() work in Firefox?
Support depends on the Firefox version, and older versions ignore :has() entirely. Check caniuse.com for the current status. Wrap the rule in @supports selector(:has(*)) and provide a working default.
How do I add a fallback for container queries?
Write a simple default layout first, for example stacked blocks. Then add the @container rule inside @supports (container-type: inline-size). Browsers that do not support it keep the default.
How do I test CSS support in older browsers?
Open the page in real older devices or a browser testing service, and walk through the form or checkout. In Chrome DevTools you can also untick a rule in the Styles panel to see the page without it.
What does @supports do in CSS?
@supports applies a block of CSS only if the browser understands a given feature. It lets you add modern styling safely on top of a base layout that works everywhere.
Will unsupported CSS stop my form from working?
It can, if the dropped rule was hiding, positioning or sizing something essential, such as a submit button. The form code itself still runs, but visitors may not be able to reach or click it.
Can FunnelGuard detect unsupported CSS layout problems?
Partly. Its Safari and Firefox run fails when unsupported CSS breaks a journey step. It does not compare visuals, so layout changes that still let the journey finish are not flagged.
Related issues
- PRF-191Page broken in Safari (iOS/macOS)Fix guide
- PRF-192Page broken in FirefoxFix guide
- PRF-193Page broken in Samsung InternetFix guide
- PRF-194Page broken in in-app browsers (Instagram/Facebook/TikTok webview)Fix guide
- PRF-198Old browser shows 'unsupported browser' pageFix guide
- PRF-205High-DPI/zoom 200% breaks layoutFix guide