GitXplorerGitXplorer
t

rework-suffix

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f2c14464bc611f7539fe2b5084f100f4921e9d1c

Release 0.0.3

ttimoxley committed 11 years ago
Unverified
1e7c00041a5925eba4ca39c9ce0cdc0befc65b99

Update deps, fix test.

ttimoxley committed 11 years ago
Unverified
a63e4d8beb2ae0eb033284afea4658f0541392bc

Update Readme.md

ttimoxley committed 11 years ago
Unverified
a4e83a236b91d152d5734626693155d5caa9aa37

Update Readme.md

ttimoxley committed 11 years ago
Unverified
44f72349894bc1933568e2723f00b4b73f166c02

Update Readme.md

ttimoxley committed 11 years ago
Unverified
096088b91e34a3a15d9405933fe091d8159cfa1b

Update Readme.md

ttimoxley committed 11 years ago

README

The README file for this repository.

Build Status

rework-suffix

visionmedia/rework plugin for adding suffixes to CSS declarations, e.g. !important.

Example

input.css

body {
  color: red;
}

rework.js

var reworkSuffix = require('rework-suffix') 

var important = reworkSuffix.suffix(' !important');
// Could also just do:
//   var important = require('rework-suffix')
// This is the default.

var css = rework(read('input.css', 'utf8'))
  .use(important)
  .toString()

write('output.css', css)

output.css

body {
  color: red !important;
}