@abhinav-anshul/shadow-box 中文文档教程
What is this?
轻松获得完美阴影。
Installation
npm i shadow-box --save
然后...
import { shadow } from 'shadow-box';
shadow({
shadow_type: 'show',
padding : 'false'
});
Options
Shadow-box 支持 2 个选项,它们都是可选的:
- shadowtype_ - hard | soft (Defaults to soft)
- padding boolean (Defaults to false)
What is this?
Get perfect shadow without the hassle.
Installation
npm i shadow-box --save
Then…
import { shadow } from 'shadow-box';
shadow({
shadow_type: 'show',
padding : 'false'
});
Options
Shadow-box supports 2 options, both of which are optional:
- shadowtype_ - hard | soft (Defaults to soft)
- padding boolean (Defaults to false)