当我尝试更改弹出框的背景颜色时,出现以下问题:不是整个弹出框都在使用该背景(指向扬声器的三角形):
我的CSS:
.popover-content {
background-color: #FCD086;
font-size: 10px;
}
您也应该更改此CSS:
.popover.top .arrow:after {
bottom: 1px;
margin-left: -10px;
border-top-color: #FCD086; /*<----here*/
border-bottom-width: 0;
content: " ";
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句