mcp

modern-css-properties

The CSS properties supported by all three major web browser engines.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

18

Maintenance

Last Commit

2yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

1.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Modern CSS Properties

The CSS properties supported by all three major web browser engines: Blink (Chrome/Edge), Gecko (Firefox), and WebKit (Safari).

const cssProperties = require('modern-css-properties');
console.log(cssProperties); // ["-webkit-appearance","-webkit-backface-visibility", ... "z-index"]

The list is built by using Playwright. Each browser is launched, and the css properties it supports are extracted. The intersection of these sets is written as the final list.

Why doesn't this list match the spec?

This list of properties is generated from the browser engines themselves. It may contain non-standard properties that happen to be implemented in all browsers. It may be missing standard properties that some browsers don't currently support.

Why are there properties that start with -webkit-?

Firefox supports some -webkit-* properties in order to improve thier compatibility with the web. You can technically use these properties in any browser, although you probably shouldn't.

I don't care about your package, I just want the list!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100