@codedrop/background

background component

Usage no npm install needed!

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

README

@codedrop/background

npm

Background styles.

background component

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 */
}