boxshadowhelper

A utility package for adding box shadow to your html block elements

Usage no npm install needed!

<script type="module">
  import boxshadowhelper from 'https://cdn.skypack.dev/boxshadowhelper';
</script>

README

what does this package do?

Adds the perfect shadow to your HTML element. It is highly customizable

Installation

npm install boxshadowhelper --save-dev

Then...

import {boxShadow} from 'boxshadowhelper'

boxShadow({
  shadowType: "hard | soft",
  shadowColor:"#ffffff",
  shadowPosition: "inset | """
})

Options

boxshadowhelper supports 3 options

  • shadowType
  • shadowColor
  • shadowPosition