Skip to content

AkkiSeven/shadoww

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Shadoww

The modern way to create shadows.

Shadoww is a library that allows you to add box shadows to any element without styling.


Forgot about styling, that's for nerds.


Installation

npm i shadoww --save


Usage

Ready to get started? Let's go!


First add the following line:

import { shadoww } from 'shadoww';

You are ready! To use the library, go into your html code, and add a classname of shadoww to the images you want to add the shadow to.


Example: <img src="test.png" class="shadoww">

Now to use the library, add the following to your js:

shadoww({ shadow_type: 'soft', padding: true })
Change soft to hard to get hard shadows, and change padding: true to false to disable padding.
Hope you enjoy the extension!!!

About

Create shadows with ease.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published