css-block

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i css-block

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • svnm