Put Baseline in CI so the browser stops deciding for you
Three packages and about 20 minutes. One config tells your build which browsers you target, a linter warns when a stylesheet reaches past that line, and CI says it on the pull request instead of a user saying it in a bug report six weeks later.
Browser support is a decision your team makes, and most teams make it by accident — someone uses a property, nobody checks, and the answer arrives as a bug report from a browser nobody tested. Baseline turns that into a number you can put in a config file. Here is the whole setup, with package versions checked in the npm registry on August 21, 2026.
Step one: pick a line, on purpose
Baseline gives you two ways to draw it. Widely Available covers everything fully supported in Chrome, Edge, Firefox and Safari 30 months before today. A year feature set covers everything fully supported in those four by the end of a given calendar year.
Thirty months is deliberately conservative, and that is the point: it is the line at which a feature is unlikely to be your problem. If your analytics say your visitors run current browsers, a recent year target is the more honest line. Look at the analytics before choosing, not after.
Step two: one config the whole build reads
browserslist-config-baseline, version 0.5.0, turns a Baseline target into a browserslist config. That matters because browserslist is what Autoprefixer, Babel, Lightning CSS and most bundlers already read. Set it once and the whole toolchain agrees.
In package.json:
npm i browserslist-config-baseline"browserslist": ["extends browserslist-config-baseline"]- Add a
"browserslist-config-baseline"object withlogConfigToConsoleset to true if you want the resolved browser list printed on every run. - The package data changes as browsers ship, so update it on a schedule rather than pinning it and forgetting.
Step three: a linter that warns before review does
stylelint-plugin-use-baseline, version 1.4.6, checks CSS against Baseline. Its own documentation recommends running it at warning severity, because the purpose is to narrow down the features you need to handle with care, not to ban them.
A minimal stylelint.config.js adds the plugin and turns on one rule: plugin/use-baseline, with severity set to warning. Then npx stylelint on your CSS glob. Teams already standardized on ESLint have a second path: @eslint/css, version 1.4.0, carries a use-baseline rule in its recommended set.
Warning severity is the right default for a reason. A rule that fails the build teaches people to disable the rule. A rule that warns teaches them to look.
Step four: make CI say it
The value is not in running the linter locally. It is in the warning appearing on the pull request, next to the diff that caused it, while the change is still cheap to make.
One job on pull requests: install, run stylelint over your stylesheets, and let it report. Keep it non-blocking at first. A month of warnings tells you whether the line you picked matches how your team actually writes CSS, and that is information you want before you turn the gate on.
Step five: reaching past the line on purpose
A warning is not a prohibition. When a newer feature genuinely earns its place, wrap it so the older browser gets a working page rather than a broken one, and let the linter's warning stand as the record that the choice was made knowingly.
This is the whole trade. Baseline does not tell you what you are allowed to use. It tells you what you are about to pay for, in time to decide.
What this does not cover
The two linters here read CSS. Baseline itself covers far more: web-features, version 3.35.1, is the curated dataset behind all of it, and it includes JavaScript APIs and HTML as well. If you want the same check over API usage, that dataset is where to build from, and there is no drop-in linter for it in this setup.
There is also baseline-browser-mapping, version 2.11.17, which maps browser versions to the maximum Baseline feature set they support. That is the package to reach for when someone asks the reverse question: not what can we use, but what does Safari 17 actually give us.
Sources
Corrections
Updated on August 22, 2026: stylelint-plugin-use-baseline is at 1.4.6; the guide named 1.4.5, which was current when it was written. Every version in the guide is now checked against the npm registry.
Related

A class prefix selector is now spec text in Selectors Level 5
The draft of August 18 adds section 2.1, Class Prefix Selectors, defining .foo-* to match any class beginning with that prefix. It replaces the attribute-selector workarounds every design system carries. Nothing implements it yet, and the matching rule has an edge that will catch people: .foo-* does not match foo--bar.
CSS Working Groupverified
A timing chart as the blueprint for SMIL animation in SVG
On August 20 at Smashing Magazine, Johan Grobler described a method in which a complex SMIL animation is first drawn as a timing chart and only then written in markup. Every bar on the chart corresponds to one animate element, and its length and position become the values of the dur and begin attributes. Because a single animate changes exactly one property of one element, the count climbs fast: a three-dot loader takes six of them. The piece also covers synchronizing to another animation's start or end through the begin attribute, and honoring prefers-reduced-motion through the picture element.
Smashing Magazineverified
Firefox 154 brings sibling-index(), sibling-count(), and text-box-trim
The August 18 release adds three CSS features you can use right away. sibling-index() and sibling-count() give an element's position among its siblings and their total, directly in CSS and without a line of JavaScript, which ends the need to hand-write variables like --i for staggered animation delays. Alongside them come text-box-edge, text-box-trim, and the text-box shorthand, which remove the extra space above and below text so headings finally sit in the grid the way they look in the design. On the JavaScript side, includes(), join(), chunks(), and windows() were added to the iterator prototype.
MDNverified
