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