Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-cssnext

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-cssnext

cssnext plugin for Broccoli

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

broccoli-cssnext

NPM version Build Status Dependency Status devDependency Status

cssnext plugin for Broccoli

:root {
  --font-size: 16px;
}

@custom-media --mobile screen and (max-width: 320px);

@media (--mobile) {
  a {
    font-size: calc(var(--font-size) - 2px);
    color: hwb(270, 20%, 40%);
  }
}

@media screen and (max-width: 320px) {
  a {
    font-size: 14px;
    color: rgb(102, 51, 153);
  }
}

Installation

Use npm.

npm install --save-dev broccoli-cssnext

Usage

var cssnext = require('broccoli-cssnext');
tree = cssnext(tree, options);

API

cssnext(tree, options)

All cssnext options are available.

from option is automatically specified using source file path by default.

And map.inline option is always true if map option is enabled.

License

Copyright (c) 2014 Shinnosuke Watanabe

Licensed under the MIT License.

Keywords

FAQs

Package last updated on 06 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc