Author: | mrfrkayvaz |
---|---|
Views Total: | 164 views |
Official Page: | Go to website |
Last Update: | May 22, 2018 |
License: | MIT |
Preview:

Description:
zindexer.js is a small JavaScript library used to manipulate the CSS z-index property on multiple elements.
How to use it:
Import the zindexer.js script into the document.
<script src="zindexer.js"></script>
Set the z-index property for each element.
var data = { '#el1': '5', '#el2': '4', '#el3': '3', '#el4': '2', '#el5': '1', '#el6': '0' }
Initialize the library and done.
zindexer(data);