1.0.2 • Published 3 years ago

shadow-master v1.0.2

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

SHADOW MASTER

What is this ?

Perfect shadow generator for your next big project

Installation

npm install shadowmaster

yarn add shadowmaster

Usage

import { shadowMaster } from "shadowmaster";

shadowMaster({
  selector: ".shadow-master",
  shadowType: "soft",
  margin: 10,
  padding: 10,
});

Options

Shadowmaster supports 4 options which all optional:

  • selector - Any valid css selector works here. It defaults to .shadow-master whenever none is provided

  • shadowType - soft | hard

  • margin - number or a string with valid unit 10, "10px", "10em", "10rem"

  • padding - number or a string with valid unit 10, "10px", "10em", "10rem"

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago