Simple box-shadow
style to lift element.
import { lift } from 'gadjet/dist/module/style/lift.js';
lift({
level?: number = 3,
shadowColor?: string = 'rgb(0, 0, 0, 50%)'
}) => string;
{ level?: number = 3 }
{ shadowColor?: string = rgb(0, 0, 0, 50%) }
import { addStyle, lift } from 'gadjet';
addStyle`
div {
${lift({
level: 3,
shadowColor: 'rgb(0, 0, 0, 50%)'
})}
}
`;