@codedrop/benefits

benefits component

Usage no npm install needed!

<script type="module">
  import codedropBenefits from 'https://cdn.skypack.dev/@codedrop/benefits';
</script>

README

@codedrop/benefits

npm

benefits styles.

Installation

npm install @codedrop/benefits --save-dev

How to use

CSS

  • PostCSS workflow: @import '@codedrop/benefits';
  • Native CSS: @import url('dist/benefits.css');
  • Link tag: <link href="dist/benefits.css" rel="stylesheet" type="text/css">

Developer notes

To use with default values:

@import '@codedrop/benefits';

To override variables in a project:

@import '@codedrop/constants';

@import 'path/to/local/project/vars.css';

@import '@codedrop/benefits/src/_benefits.css';

.benefits {
  /* Overrides */
}