2.0.0 • Published 3 months ago

shadowstyley v2.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
3 months ago

What is this ?

Get perfect shadows every time for the non-designer.

Installation

npm i shadowstyley --save

Html file

<div class="stylesite">
    <h1>Card Title</h1>
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Recusandae,</p>
</div>

Befor </body>

<script src="js-file.js"></script>

js-file.js

import { shadowstyley } from 'shadowstyley';

shadowstyley({
    style_type: 'soft',
    padding: false
});

Options

shadowstyley supports 2 options both of which are optional :

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