如何向ngx-bootstrap/tooltip添加自定义样式 [英] How to add custom style to ngx-bootstrap/tooltip
本文介绍了如何向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
我已经在 StackBlitz
推荐答案
将此添加到您的 style.css
文件中.
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;
}
这篇关于如何向ngx-bootstrap/tooltip添加自定义样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文