0.0.1 • Published 3 years ago

set-shadow-tech-art v0.0.1

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

What is this package ?

Just set up some properties for your elements

Installation

npm i set-shadow-tech-art --save

Usage

1. HTML

Add 'tech-art-shadow' class to an element

2. JavaScript

import setStyleTechArt from './node_modules/set-shadow-tech-art/index.js'

setStyleTechArt({
    shadow_blur: 'soft',
    isPadding: true,
    height: 250,
    width: 250,
    isBorder: true

}) 

Provided settings

  • Box-shadow ('hard' is default)
  • Padding ('false' is default)
  • Height ('100px' is default)
  • Width ('100px' is default)
  • NEW! - Border ('false' is default)