EN | FR
browserux.css
Not just a reset. A browser upgrade.
browserux.css is a modern CSS base focused on user experience and accessibility.
Designed to enhance native HTML and CSS behaviors, it provides a clean, modern baseline that improves usability across all devices, without utility classes, heavy frameworks, or JavaScript.
With v5, BrowserUX moves toward a more architectural CSS base: explicit cascade layers, semantic tokens, and progressive native browser enhancements that stay easy to override.

💡 Why BrowserUX?
- Stronger than a reset, lighter than a framework.
- Built for native UX and accessibility from the start.
- Improves focus, validation, dialogs, preferences, and browser UI details.
- Works with semantic HTML, hand-written CSS, and custom design systems.
- Simple by default, modular when needed.
📦 Installation
npm
npm install browserux.css
import 'browserux.css/browserux.css';
CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/browserux.css">
The CDN example is pinned to 5.0.1 for reproducible installs. Update the version deliberately when you upgrade.
🧩 Public Bundles
The historical root entry stays available for compatibility. If you want more control, you can use the modular public bundles:
import 'browserux.css/core.css';
import 'browserux.css/a11y.css';
import 'browserux.css/browser-ui.css';
| Bundle |
Includes |
Recommended for |
browserux.css |
Complete CSS base |
Default usage |
core.css |
Tokens + default styles |
Safest baseline |
a11y.css |
Tokens + user preferences + default styles |
System preference support without the full browser UI layer |
browser-ui.css |
Tokens + browser UI layer |
Selection, scrollbars, focus, dialog, form UX |
🎯 What It Covers
BrowserUX is built around four core pillars:
- 🔄 Reset: removes problematic browser defaults while preserving useful behavior
- ⚙️ Normalization: aligns rendering across browsers
- 🧩 Usability: improves forms, dialogs, scrolling, layout stability, and native browser ergonomics
- ♿ Accessibility: supports dark mode, reduced motion, contrast preferences, visible focus, and better validation timing
The base is organized into four parts:
- 🔣 tokens and layer declaration
- ⚙️ user preferences
- 🧩 native browser interface
- 🧱 browser default styles
🧱 Base vs Opinionated Layers
browserux.css is easier to understand as a stack of layers:
core.css = the least opinionated base
a11y.css = the base plus modern user-preference support
browser-ui.css = the most opinionated BrowserUX layer
browserux.css = the complete BrowserUX experience
🧭 Positioning
BrowserUX sits in a different place from most CSS starting points:
- broader than
modern-normalize
- more UX and accessibility oriented than
sanitize.css
- less prescriptive than classless frameworks such as Pico CSS or Water.css
For the full breakdown, see the Comparison guide.
✅ Validation And Browser Support
BrowserUX is no longer just documented manually. The project now includes a clearer validation story:
The current validation setup includes Playwright smoke coverage across Chromium, Firefox, and WebKit, scenarios for focus, validation, dialog animation, scrollbar gutter, and color scheme behavior, plus a Node-based distribution contract for the v5 bundle surface.
📚 Key Documentation
Start here
Learn more
Reference
Project maintenance
⚖️ License
MIT © 2026 Effeilo
评论