Skip to content

andreasdelu/mergeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mergeJS

MergeJS

How to use:

  1. Create a container, style it as you please (DO NOT ADD A BACKGROUND COLOR)

  2. Add all the child elements you wish to be affected by the merge-effect

  • Skærmbillede 2022-12-17 kl  22 00 53
  1. Initialise the mergeJS, and add all the required properties.

    • container = The container that hold the elements to merge
    • mergeAmount = The amount of merging between elements
    • sharpness = The sharpness of the merging elements
    • childColor = The color to overlay over the merging elements
    • inverted = Specify whether or not the background is light or dark (true = light background/false = dark background)
  • Skærmbillede 2022-12-17 kl  22 03 12
  1. Enjoy the cool merging effect

HINT:

Check out the example repo https://github.com/andreasdelu/mergeJS-example

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published