Socket
Book a DemoInstallSign in
Socket

css-block

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-block

A simple block css module for styling a responsive block component

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

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

css

FAQs

Package last updated on 15 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts