/ c4f / front / node_modules / postcss-reduce-transforms /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]src/8 months ago -  
[DIR]types/8 months ago -  
[   ]LICENSE-MIT8 months ago1.1K 
[TXT]README.md8 months ago803  
[   ]package.json8 months ago757  
README.md

postcss-reduce-transforms

Reduce transform functions with PostCSS.

Install

With npm do:

npm install postcss-reduce-transforms --save

Example

This module will reduce transform functions where possible. For more examples, see the tests.

Input

h1 {
  transform: rotate3d(0, 0, 1, 20deg);
}

Output

h1 {
  transform: rotate(20deg);
}

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80