sheetify-calc
Spec compliant CSS calc syntax for sheetify
Last updated 6 years ago by yoshuawuyts .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sheetify-calc 
SYNC missed versions from official npm registry.

sheetify-calc

NPM version build status Test coverage Downloads

A sheetify transform to add support for W3C-style CSS calc syntax. Uses rework-calc to perform the transformation. When multiple units are mixed together in the same expression, the calc() statement is left as is, to fallback to the CSS3 calc feature.

N.B. This is not a polyfill. This transform aims to provide a future-proof way of using a limited subset of the features provided by native CSS custom media queries.

Installation

npm install sheetify-calc

Usage

As a sheetify transform:

var calc = require('sheetify-calc');
var sheetify = require('sheetify');

sheetify('path/to/my/index.css')
  .transform(calc())
  .bundle();

License

MIT

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

1 Versions

  • 1.0.0                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |