脚本宝典收集整理的这篇文章主要介绍了css 提示框 CSS实现带箭头的DIV提示框,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
毕业设计要做一个提示框:当鼠标放在某个链接上时,下边显示有提示功能的窗体。如下:
&nbs
p;具体代码实现如下:
CSS:
.rhs
yyhqDIV{
pos
ITion:absolute;
top:555px;
left:200px;
font-
Size: 9pt;
dis
play:block;
h
eight:335px;
width:405px;
background-color:transparent;
display: none;
}
s{
position:absolute;
top:-20px;
left:50px;
display:block;
height:0;
width:0;
font
-size: 0;
line-height: 0;
border-color:transparent transparent
#FA0505 transparent;
border-style:dashed dashed solid dashed;
border-width:10px;
}
i{
position:absolute;
top:-9px;
*top:-9px;
left:-10px;
display:block;
height:0;
width:0;
font-size: 0;
line-height: 0;
border-color:transparent transparent #FFFFFF transparent;
border-style:dashed dashed solid dashed;
border-width:10px;
}
.rhsyyhqDIV .content{
border:1px solid #FA0505;
-moz-border-radius:3px;
-
webkit-border-radius:3px;
position:absolute;
background-color:#FEFEF4;
width:100%;
height:100%;
padding:5px;
*top:-2px;
*border
-top:1px solid #FA0505;
*border-top:1px solid #FA0505;
*border-left:none;
*border-right:none;
*height:102px;
}
HTML <div class="rhsyyhqDIV">
<div class="content">
<div class="title">
<font>使用
优惠码说明</font>
</div>
<div class="m
ain">
<ul>
<li> 如下图:登陆成功后,在文本框中输入优惠码,点击"使用"按钮</li>
<li><
img src="${/paixie/images/
PRoscenium/rhsyyhq_01.
jpg"/></li>
<li><img src="${/paixie/images/proscenium/rhsyyhq_02.jpg"/></li>
</ul>
</div>
</div>
<s><i></i></s>
</div>
脚本宝典总结
以上是脚本宝典为你收集整理的css 提示框 CSS实现带箭头的DIV提示框全部内容,希望文章能够帮你解决css 提示框 CSS实现带箭头的DIV提示框所遇到的问题。
如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。