Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add custom style to ngx-bootstrap/tooltip

I have changed the background and border-colour for tooltip. The arrow in tooltip should be filled with white instead of dark and with the border. Is that possible

I have tried in StackBlitz

like image 937
Bhavani Prasad Avatar asked Oct 19 '25 14:10

Bhavani Prasad


1 Answers

Add this in your style.css file.

.tooltip.bottom .tooltip-arrow {
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-right: none;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background: white;
}
like image 129
BeeBee8 Avatar answered Oct 22 '25 05:10

BeeBee8