#cross-browser #css #css-parser

css_feature_data

Browser compatibility data and feature detection for CSS properties and values

133 releases

Uses new Rust 2024

new 0.0.14-canary.fac2d44a37 Jan 4, 2026
0.0.14-canary.b91df5b9a8 Jan 3, 2026
0.0.11-canary.efc7e551f1 Dec 29, 2025
0.0.7-canary.f08affa44d Oct 27, 2025
0.0.4-canary… Sep 30, 2025

#2236 in Web programming


Used in css_ast

MIT license

3MB
34K SLoC

CSS Feature Data

This crate provides comprehensive data about CSS features and their browser support, based on the web-features project.

Example

use css_feature_data::CSSFeature;

if let Some(data) = CSSFeature::by_property_name("flex-wrap") {
    println!("flex-wrap status: {:?}", data.baseline_status);
    println!("Chrome support: {:?}", data.browser_support.chrome);
}

css_feature_data

Browser compatibility data and feature detection for CSS properties and values.

📖 Full Documentation

Features

  • Browser compatibility data: Comprehensive CSS feature support information
  • Feature detection: Identify which browsers support specific CSS features
  • Browserslist integration: Query support using browserslist queries
  • Up-to-date data: Regularly updated from authoritative sources
  • Compatibility analysis: Power linting and transformation decisions

Optional Features

Part of csskit

This crate is part of the csskit project, a comprehensive CSS toolchain.

For more information, visit csskit.rs.

License

MIT

Dependencies

~1.2–3MB
~48K SLoC