cssprefixer

A tool that rewrites your CSS files, adding vendor-prefixed versions of CSS3 rules.
Download

cssprefixer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Publisher Name:
  • MyFreeWeb
  • Publisher web site:
  • http://blog.myfreeweb.ru/

cssprefixer Tags


cssprefixer Description

A tool that rewrites your CSS files, adding vendor-prefixed versions of CSS3 rules. cssprefixer is a tool that rewrites your CSS files, adding vendor-prefixed versions of (popular) CSS3 rules. It also can combine and minify your stylesheets. Keep your styles clean!For example, this#wrapper { border-radius: 1em; transform: rotate(45deg)}becomes this:#wrapper { border-radius: 1em; transform: rotate(45deg); -webkit-border-radius: 1em; -moz-border-radius: 1em; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg)}Requires cssutils.How to installeasy_install cssutils #or 'pip install cssutils' if you have pipsudo python setup.py installHow to useFrom consoleLike this: cssprefixer my1.css my2.css --minify > result.cssFrom Pythonimport cssprefixercssprefixer.process(open('my.css').read(), debug=False, minify=True)Django stuff (filters for django-assets and django-media-bundler) coming soon. Requirements: · Python


cssprefixer Related Software