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