npm.io
1.0.0 • Published 10 years ago

css-block

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
1

css-block

npm version

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

MIT

Keywords