postcss-egg

A PostCSS plugin to convert CSS Expressive Generalizations and Gadgetry Level 1 to current CSS.

Usage no npm install needed!

<script type="module">
  import postcssEgg from 'https://cdn.skypack.dev/postcss-egg';
</script>

README

postcss-egg

A PostCSS plugin to convert CSS Expressive Generalizations and Gadgetry Level 1 to current CSS.

View Specification

Supports:

Units
  • Attoparsec
  • Picolightsecond
  • Lightsecond
  • Parsec
  • Fortnight
  • Millifortnight
  • Timble
Functions
  • Double Rainbow

Usage

import postcss from 'postcss';
import egg from 'postcss-egg';

postcss([egg]).process(...);

With Gulp

import postcss from 'gulp-postcss';
import egg from 'postcss-egg';

gulp.task('default', () => (
  gulp.src('styles/**')
    .pipe(postcss([
      egg
    ]))
    .pipe(gulp.dest('dist'))
));

EGG