1.0.0 • Published 3 years ago

shadow_effects_web v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

What is this?

An npm package that adds shadows to the component of a Web-page.

Installation

npm i shadow_effect --save

Then

import { shadow_effect } from 'shadow_effect';

shadow_effect({
    shadow_type: 'soft',
    padding: false
});

Options (Parameters)

Shadow_effect supports 2 parameters, both of which are optional

  • shadow_type - hard/ soft (Defaults to soft)
  • padding - boolean (Defaults to false)