stroll.js icon indicating copy to clipboard operation
stroll.js copied to clipboard

how to add strolling effects for div elements within a div parent ?

Open Belle-1 opened this issue 6 years ago • 0 comments

html <div id='deck'> <div class='card flip'></div> <div class='card flip'></div> <div class='card flip'></div> </div> <script> stroll.bind($('#deck .card')); </script>

stroll.min.css .flip{...} .flip div.card{...} .flip div.card.past{...}

stroll.min.js if(!n.nodeName||/^(div|div)$/i.test(n.nodeName)===false){return false; }

thanks in advance :)

Belle-1 avatar Mar 08 '18 07:03 Belle-1