I want to style(css) some bootstrap-tooltip.js tooltips, without affecting all the tooltips. I have tried many different solutions but i allways end up adding a class to the ele
Add a custom class/id in tool tip element as like :
Here tooltip is needed
Trigger the script as follows,
$('.red-tooltip').on('show.bs.tooltip', function(){
$($(this).data('bs.tooltip').tip).addClass('yourclassname');
});
Add css properties for the class 'yourclassname'.
.redtooltip.tooltip > .tooltip-inner{
background-color:#FF5257;
box-shadow: 0px 0px 4px 0px #FF5257 !important;
}