@blivesta/util-cover

Just a small JavaScript utilities

Usage no npm install needed!

<script type="module">
  import blivestaUtilCover from 'https://cdn.skypack.dev/@blivesta/util-cover';
</script>

README

@blivesta/util-cover

Install

yarn add @blivesta/util-cover

Usage

<div class="foo"></div>
import { cover } from '@blivesta/util-cover'

cover(selector = '[data-cover]', adjustment = 0, addStyle = true)

License

Released under the MIT license.