...
<fieldset></fieldset>
<row>
<panel>
<html>
<style>
.my-tooltip{
display: inline;
position: absolute;
}
.my-tootip:hover:after{
background: #fff;
background: rgba(0,0,0,.8);
border-radius: 5px;
bottom: 35px;
color: blue;
content: attr(info_msg); //info_msg是自己定义的参数名
left: 1%;
padding: 5px 15px;
position: absolute;
z-index: 98;
width: 400px;
}
</style>
</html>
</panel>
</row>
<row>
<panel>
<html>
<span info_msg="这是提示信息" class="my-tootip">点我查看提示信息</span>
</html>
</panel>
</row>
Splunk dashboard中鼠标移到某个区域显示提示信息
于 2021-06-20 22:51:12 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)