xxxxxxxxxx
1
<!--<div class="mytooltip">
2
<a data-toggle="tooltip" data-placement="bottom"
3
title="" data-original-title="Tooltip on bottom">Tooltip on bottom</a>
4
</div>-->
5
<div class="">
6
<a title="" data-toggle="tooltip" data-placement="bottom" data-original-title="Tooltip on Bottom">
7
Test Link
8
</a>
9
</div>
xxxxxxxxxx
1
.tooltip > .tooltip-inner {background-color: #f00}
2
.tooltip > .arrow::before { border-bottom-color:#f00}
3
4
/* .mytooltip {
5
background-color: #5A2D83 !important;
6
}
7
.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
8
.bs-tooltip-bottom .arrow::before {
9
border-bottom-color: #5A2D83 !important;
10
}
11
.bs-tooltip-auto[x-placement^=top] .arrow::before,
12
.bs-tooltip-top .arrow::before {
13
border-top-color: #5A2D83 !important;
14
}
15
.bs-tooltip-auto[x-placement^=left] .arrow::before,
16
.bs-tooltip-left .arrow::before {
17
border-left-color: #5A2D83 !important;
18
}
19
.bs-tooltip-auto[x-placement^=right] .arrow::before,
20
.bs-tooltip-right .arrow::before {
21
border-right-color: #5A2D83 !important;
22
} */
xxxxxxxxxx
1
/*$(document).ready(function(){
2
$('[data-toggle="tooltip"]').tooltip();
3
});*/
4
5
$('[data-toggle="tooltip"]').tooltip({
6
delay: { "show": 500, "hide": 500 },
7
offset: '0 10',
8
template: '<div class="tooltip" role="tooltip"><div class="arrow custom-class"></div><div class="tooltip-inner mytooltip shadow"></div></div>'
9
//template: '<div class="tooltip" role="tooltip"><div class="arrow custom-class"></div><div class="tooltip-inner mytooltip shadow"></div></div>'
10
});
Console errors: 0