首页
网络知识
seo优化
网络营销
网络推广
建站知识
网络安全
网络编程
平面设计
奇闻怪事
主页
/
建站知识
/
纯CSS3实现鼠标悬停提示气泡效果
建站知识
2021-07-03 08:15
www.168986.cn
长沙网站建设
<!DOCTYPE HTML><html> <head> <title>CSS3制作鼠标悬停提示气泡内容菜单</title> <style type="text/css"> body{ background:#D6D3C9; color:#383835; font-family:Arial, Arial, Helvetica, sans-serif; } #bubblemenu li { display: inline; margin-left: 15px; cursor:pointer; } #bubblemenu li > div { width: 150px; min-height: 100px; position: absolute; display: inline; margin-left: -120px; padding: 5px; visibility:hidden; opacity: 0; margin-: -125px; background: #ffffff; font-size:1em; / Setting the border-radius property for all Browsers / -moz-border-radius: 5px; / Firefox / -webkit-border-radius: 5px; / Safari and Chrome / border-radius: 5px; / Browsers that Support it like Opera / / Setting the box-shadow property for all Browsers / -moz-box-shadow: 0 0 8px gray; / Firefox / -webkit-box-shadow: 0 0 8px gray; / Safari and Chrome / filter: progid:DXImageTransform.Microsoft.Shadow(color='#272229', Direction=135, Strength=3); / IE / box-shadow: 0 0 8px gray; / Browsers that Support it like Opera / / Setting the transition property for all Browsers / -moz-transition: all 0.5s ease-in-out; / Firefox / -webkit-transition: all 0.5s ease-in-out; / Safari and Chrome / -o-transition: all 0.5s ease-in-out; / Opera / transition: all 0.5s ease-in-out; / Browsers that Support it / } #bubblemenu li:hover > div { visibility:visible; opacity: 1; margin-: -150px; / Setting the transition property for all Browsers / -moz-transition: all 0.5s ease-in-out; / Firefox / -webkit-transition: all 0.5s ease-in-out; / Safari and Chrome / -o-transition: all 0.5s ease-in-out; / Opera / transition: all 0.5s ease-in-out; / Browsers that Support it / } </style> </head> <body> <h1>Coda Effect With CSS3</h1> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <ul id="bubblemenu"> <li> Penn Jillett <div> My favorite thing about the Inter is that you get to go into the private world of real creeps without having to smell them. </div> </li> <li> Thomas Watson <div> I think there is a world market for maybe five puters. </div> </li> <li> Bill Gates <div> 640K ought to be enough for anybody. </div> </li> <li> Sam Ewing <div> Computers are like bikinis. They save people a lot of guesswork. </div> </li> </ul><div style=" color:#000;width:600px;margin:0 auto; text-align:center; font-size:12px;"></div></body></html></td> </tr> </table>
提示您可以先修改部分代码再运行
上一篇:
table中的超长字符串用省略号表示的css样式
下一篇:
div+pre标签的组合实现文本原格式显示与自动换行
长沙网站设计
广东工厂搜索seo
重庆市建设工程站
个性网页制作 简单的个人网页制作
3567大全 3659网站
如何通过关键词优化提高网站SEO排名(让你的网
做seo优化是什么感受
网络培训可以退款吗
河南建站公司哪家强
wap建站六感wap建站平台
站群如何批量建站
佛山模板建站哪家服务好
个人建站模板 个人建站盈利模式
SEO提高收录技巧(实用的seo方法)
济南槐荫区网站建设
网页制作模板简单
如何提高网站收录排名(掌握这些技巧,让你的
狼蚁网络搜索
狼蚁网络导航
长沙seo优化
广东工厂搜索seo
重庆市建设工程站
个性网页制作 简单的个人网页制作
3567大全 3659网站
如何通过关键词优化提高网站SEO排名(让你的网
长沙网络营销
1
免费私人服务器
2
南宁企业建站
3
子域名查询大全
4
潢川领导班子排名
5
html网站模板建站
长沙网站建设
潍坊新站SEO排名攻略全方位提升网站流量与知名
网站维护是什么
详解CSS边距重叠与解决方案探究
苏州房地产站
王思聪域名建站