Skip to content
/ css-block Public

A simple block css module for styling a responsive block component

Notifications You must be signed in to change notification settings

svnm/css-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple block css module for styling a responsive block component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published