@codedrop/block-graphic
v0.3.1
Published
block-graphic component
Downloads
26
Readme
@codedrop/block-graphic
block-graphic styles.
Installation
npm install @codedrop/block-graphic --save-dev
How to use
CSS
- PostCSS workflow:
@import '@codedrop/block-graphic';
- Native CSS:
@import url('dist/block-graphic.css');
- Link tag:
<link href="dist/block-graphic.css" rel="stylesheet" type="text/css">
Developer notes
To use with default values:
@import '@codedrop/block-graphic';
To override variables in a project:
@import '@codedrop/constants';
@import 'path/to/local/project/vars.css';
@import '@codedrop/block-graphic/src/_block-graphic.css';
.block-graphic {
/* Overrides */
}