A css module compatible version of purecss
npm install pure-css
A css module compatible version of purecss.
You will need to use react-css-modules to make use of the class names as purecss classes are not camelCase.
It would be possible to make a version compatible to just css modules, however most implementations of a virtual dom should have a higher order component for allowing normal class names and this will be the future direction for css modules.
It could also be an approach to rewrite the current style names in pure to be more compatible with css modules, see issue #1.
#### 1.0.1 uses purecss 0.6.0
npm install pure-css --save-dev
import { buttons, grids } from 'pure-css'
Then use it for styling your elements.
``jsx`
Check out the full working example here
`jsx
import React from 'react'
import CSSModules from 'react-css-modules'
import { buttons, grids } from 'pure-css'
let styles = {}
Object.assign(styles, grids, buttons)
class Test extends React.Component {
render () {
return (
export default CSSModules(Test, styles);
``