New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-alias

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-alias

PostCSS plugin that lets you create custom aliases for CSS properties with an @rule

0.2.2
Source
npm
Version published
Maintainers
1
Created
Source

PostCSS Alias

NPM version Build Status Dependency Status

PostCSS plugin that lets you create custom aliases for CSS properties with an @alias rule.

Part of Rucksack - CSS Superpowers.

@alias {
  fs: font-size;
  fw: font-weight;
  bg: background;
}

.foo {
  fs: 16px;
  fw: 400;
  transition: bg 200ms ease;
}
.foo {
  font-size: 16px;
  font-weight: 400;
  transition: background 200ms ease;
}

--

Usage

postcss([ require('postcss-alias') ])

See PostCSS docs for examples for your environment.

--

License

MIT © Sean King

Keywords

postcss

FAQs

Package last updated on 06 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts