1.0.0 • Published 8 years ago

css-block v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

css-block

npm version

A simple block css module for styling a responsive block component

npm.io

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

MIT