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

canading-style-sheets

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canading-style-sheets

a friendlier style sheet

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

canading style sheets

A friendlier style sheet

example

input

.tim-hortons {
  poutine: toonie please;
  background-colour: grey;
  queue-height: 2eh;
  text-align: centre;
  toque: 2px solid dark-grey;
}
input[chequed] {
  zed-index: 2 for sure;
}

output

.tim-hortons {
  padding: 200px !important;
  background-color: gray;
  line-height: 2em;
  text-align: center;
  border-top: 2px solid dark-gray;
}
input[checked] {
  z-index: 2 !important;
}

See the full list of CSS improvements.

usage

npm install canading-style-sheets --save

And then:

var rework = require('rework');
var canadingStyleSheets = require('canading-style-sheets');
// ...
var output = rework(input).using(canadingStyleSheets).toString();
// ...

Or just plug it in to grunt (grunt-rework), gulp (gulp-rework), or webpack (rework-loader) like you would any rework plugin.

FAQs

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