jquery - How to customized the Materializecss Tooltip? -


i need change tooltip background color , instead of "hover" make "click" event. html code:

    <a class="btn tooltipped" data-position="bottom" data-delay="50" data-tooltip="need customize tooltip">hover me!</a> 

enter image description here

demo: http://jsfiddle.net/7ujbv2yz/2/

you customize style overriding these css classes..

.material-tooltip > .backdrop {     ... }  .material-tooltip > span {     ... } 

http://www.codeply.com/go/jmsrhcclar

i don't know of way activate on click instead of hover.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -