Skip to content

[postcss-preset-env] needs documentation clarification #202

@fchastanet

Description

@fchastanet

Hello,
I'm checking this project for the first time, and I didn't find the answer in your documentation.
Can you tell me what is the difference between the plugin postcss-preset-env and autoprefixer ?

Or can you correct me if my analysis is wrong ?
cssdb is a comprehensive list of CSS features and their positions in the process of becoming implemented web standards.

"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.

"Can I use" is for browser implementation while CSSDB is for “on which state is this CSS feature related to the standardization, no matter some browser already support it or not". Said differently, cssdb is a comprehensive list of CSS features and their positions in the process of becoming implemented web standards. Before being standardized(stage 4) a css feature go through 3 stages(Aspirational, Experimental, Allowable) or Rejected https://github.com/csstools/cssdb/blob/main/STAGES.md

So if I understand well, PostCSS Preset Env allows to convert some css proposals before being validated to css compatible with targetted browsers using polyfills provided by cssdb.

am I right ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions