diff options
author | Chris Rebert <github@rebertia.com> | 2015-01-01 07:03:04 +0300 |
---|---|---|
committer | Chris Rebert <github@rebertia.com> | 2015-01-01 07:03:04 +0300 |
commit | 98181e0442ac4857a3a65ef8cab8f68f6061cbaa (patch) | |
tree | c39bb03f63bb6d2c71175e84a73a3fcd105d2afe /README.md | |
parent | e0e3f1470840b0e50b017caa6086e489263e1136 (diff) |
README: postcss, Grunt, grunt-postcss
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,7 +13,7 @@ However, since it's from a relatively recent Working Draft, the `hover` media fe NOTE: This shim only adds support for the `hover` value of the `hover` media feature. So you can only tell the difference between "truly supports hovering" (the `hover` value)" and "does not truly support hovering" (the `none` or `on-demand` values). The shim consists of two parts: -* A server-side CSS postprocessor that rewrites +* A [PostCSS](https://github.com/postcss/postcss)-based server-side CSS postprocessor that rewrites ```css @media (hover: hover) { some-selector { @@ -77,6 +77,9 @@ Unofficially supported: ## API (To-Be-Documented) +## Grunt +Use [grunt-postcss](https://github.com/nDmitry/grunt-postcss) to invoke the mq4-hover-hover-shim CSS postprocessor via [Grunt](http://gruntjs.com/) task. + ## Contributing The project's coding style is laid out in the JSHint, ESLint, and JSCS configurations. Add unit tests when changing the CSS postprocessor. Lint and test your code using [Grunt](http://gruntjs.com/). Manually test any changes to the browser-side portion of the shim. |