1.0.0 • Published 8 years ago
css-block v1.0.0
css-block
A simple block css module for styling a responsive block component
Compatible
Install
npm install css-block --save-dev
Usage
Simply import the block css module and use it to style your block element.
import block from 'css-block'
Then use it for styling your elements.
return (
<div className={styles.block}>
<div className={styles.content}>{this.props.children}</div>
</div>
);
Example
Check out the full working example here
Run it
cd example; npm install; npm start
License
1.0.0
8 years ago