Script automatically adds the material design effect to elements with 'material-design' class. Can also be used on div with images. Add the preferred color as value of the 'data-color' attribute.
Nice work, but you can also do this without canvas:
@boriskauser Yeah, this looks cool! I really like the animation speed. I like using canvas due to its performance and cross browser compatibility features.
@boriskaiser Here's better one: http://codepen.io/ShawnG/pen/huLEH
You've got small bug. Just try apply border-radius: 50% to your button. You'll notice overflow bug ( material animation will leak outside element ).
Nice! However, Material Design uses Roboto instead of Open Sans :)
@lachlanjc haha, you're right! i should have called them "material design inspired buttons" :)
Nice work ;) Check our collection of MDB Buttons ;)
>#Can You Please Look At Mine?: Click Here
like it a lot!
maybe consider adding "cursor: pointer;" to the canvas style?
This is cool, but it would be even better if you mad the ripples fade away when the mouseup event was fired. Check out my examples here: Material Design Components
Need to know how to enable it? Go here.