đź”” Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Dynamic Shadow Color is a jQuery plugin for generating trendy fashion flat long shadow effects for your html elements. Great for the present popular flat web design concept.

Shadow flat long-shadow

Documentation

jQuery Dynamic Shadow Color

This is a basic jQuery plugin that can give any element a shadow color fade to its parent target element’s background color, based on Juani’s long shadow generator

Demo

Dynamic Shadow

How to Use

Add class “shadow-object” to the element that need shadow
Add class “shadow-section” to the element’s target parent
Add attributes to “shadow-section” element
  1. data-size: (Pixel) Size of the shadow
  2. data-fade: (Float) 0 means no fade
  3. data-opacity: (Float) 0 means transparent
  4. data-placement: (String) right-bottom, right-top, left-bottom, left-top

Dependency

License

MIT License


You May Also Like