Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/190.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bootstrap 4 小矩形与引导弹出框一起出现_Bootstrap 4_Tooltip_Popover - Fatal编程技术网

Bootstrap 4 小矩形与引导弹出框一起出现

Bootstrap 4 小矩形与引导弹出框一起出现,bootstrap-4,tooltip,popover,Bootstrap 4,Tooltip,Popover,我在图像悬停上有一个popover。 但当它出现时,一个小矩形(在屏幕截图中圈出)出现了。 我猜是某种按钮。。。我如何让它消失 代码如下: <a href="#" data-toggle="popover" title=""> <img src="images/location1.png" width="100" height="100" alt="info-tooltip image" class="contactImgs" /> </a>

我在图像悬停上有一个popover。 但当它出现时,一个小矩形(在屏幕截图中圈出)出现了。 我猜是某种按钮。。。我如何让它消失

代码如下:

<a href="#" data-toggle="popover" title="">
   <img src="images/location1.png" width="100" height="100" alt="info-tooltip image" class="contactImgs" />
</a>  

    $('[data-toggle="popover"]').popover({
    //trigger: 'focus',
    trigger: 'hover',
    html: true,
    content: function () {
        return 'jbb" />';
    },
    title: 'Toolbox'
});

$('[data toggle=“popover”]')。popover({
//触发器:“焦点”,
触发器:“悬停”,
是的,
内容:功能(){
返回“jbb”/>”;
},
标题:“工具箱”
});

这就解决了我的问题

在我的例子中,我使用Bootstrap 4和基础6。所以我已经重写了CSS。

这就解决了我的问题

在我的例子中,我使用了Bootstrap 4和基础6,所以我已经使用了CSS。< /p>你在代码< >代码> < UL> < LI>…/LI> < /UL> < /代码>?你能共享代码吗?在这个代码< > UL> < LI>… ,你使用这个代码> <代码>吗?你能共享代码来复制这个问题吗? ?
.tooltip.top:before, .tooltip:before{

 display:none !important;   

 }