1.0.2 • Published 3 years ago
boxshadowonimage v1.0.2
box-shadow-on-image
What is this?
Get perfect shadows every time for the non-designer
Installation
npm i boxshadowonimage --save
Then...
import {boxshadowonimage} from 'boxshadowonimage';
boxshadowonimage({
shadow_type: 'soft',
padding: false
});
Options
boxshadowonimage supports 2 options, both of which are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)