Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@csstools/postcss-position-area-property

csstools860.4kMIT-02.0.0TypeScript support: included

Fallback position-area to the alternate name inset-area

postcss-plugin

readme

PostCSS Position Area Property PostCSS Logo

npm install @csstools/postcss-position-area-property --save-dev

PostCSS Position Area Property lets you fallback position-area to the alternate name inset-area following the CSS Specification.

.foo {
    position-area: start;
}

/* becomes */

.foo {
    inset-area: start;
    position-area: start;
}

Usage

Add PostCSS Position Area Property to your project:

npm install postcss @csstools/postcss-position-area-property --save-dev

Use it as a PostCSS plugin:

const postcss = require('postcss');
const postcssPositionAreaProperty = require('@csstools/postcss-position-area-property');

postcss([
    postcssPositionAreaProperty(/* pluginOptions */)
]).process(YOUR_CSS /*, processOptions */);

changelog

Changes to PostCSS Position Area Property

2.0.0

January 14, 2026

  • Updated: Support for Node 20.19.0 or later (major).
  • Removed: commonjs API. In supported Node versions require(esm) will work without needing to make code changes.

Full CHANGELOG