爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
一款电子商务网站常用的UL表格化+边框+鼠标滑过提示框特效
一款电子商务网站常用的UL表格化+边框+鼠标滑过提示框特效
日期:2014-05-18 浏览次数:20136 次
以下是程序代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <style> ul,li{ margin:0; padding:0; list-style:none; } .bbb{ width:900px;;height:auto; padding-bottom:200px; overflow:hidden; padding-top:50px; padding-left:50px;} .aaa{width:755px; display:block; float:left; zoom:1; border-top:1px solid #6CF; border-left:1px solid #6CF; clear:both;} .aaa li{ display: block; border-right:1px solid #6CF;border-bottom:1px solid #6CF; float:left; width:150px; height:75px; position:relative; padding:0px} .aaa li:hover{ border:5px solid #F30; margin-left:-5px; margin-top:-5px; margin-right:-4px; margin-bottom:-4px; z-index:999} .ccc{ width:135px; height:15px; background-color:black; opacity:0.5; position:absolute; top:32px; left:7px} </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".aaa li").hover( function(){ $(this).append('<div class="ccc"></div>'); }, function(){ $(this).children(".ccc").remove(); }); }) </script> </head> <body style="margin:0; padding:0"> <div style="margin-top:100px; margin-left:auto; margin-right:auto;" class="bbb"> <ul class="aaa"> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;height:40px; background-color:#6CF; margin-left:auto; margin-right:auto; margin-top:7px;"></div><div style="width:135px; margin-left:auto; margin-right:auto; margin-top:5px">Overview</div></li> <li><div style="width:135px;heigh
上一篇:狡猾的按钮特效
下一篇:完美的div文字垂直居中,兼容ie6-9 Webkit Geckos,还支持浮动特效代码
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
百度透露无人驾驶战略 研发三维交通地图
三大运营商合建铁塔公司真相:未涉及电信业重组
携程整合去哪儿陷入僵局 欲联手老对手艺龙
中国电信内外受困 去电信化思绪待改
美国政府关门可能影响去哪儿等公司IPO
中移动落马高管盘点:广东移动成反腐重地
赴美开店,阿里11Main准备好了吗?
传4G牌照国庆节前后发放 TD-LTE制式优先
奇虎360证明了“惟平台化才能生存”是谬论,中国互联网不能少了周鸿祎
推荐阅读
更多>
牟贵先挂帅 国美在线“价钱战”昔日开打
逆转猜想:如果阿里成为雅虎大股东会怎样?
微软的云服务显示出他们将自我进化
墨迹也要做硬件,工具类应用如何“变异”的
Android应用审核乱象:诈骗软件冲上排行榜首
Twitter收购印度手机营销公司ZipDial
在线音乐出现“小米公司”不是没有可能
佳能利润大跌三成 智能终端倒逼相机厂商转型
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
搜房网遭遇做空 利益保送成“猎杀”焦点
索尼移动中国区陷裁员风波:业务不佳 员工焦虑
三问刘强东:京东为何近来火气这么大?
火狐手机发展前路:或被运营商绑架
支付宝曝平安破绽:转账信息被谷歌抓取
京东物流"最后一公里":颠覆阿里或者被阿里干掉
亚马逊推特价闪购纪念入华十周年 总裁一职仍空缺
TD是完成中国梦的一个契机
微信今天大面积崩溃 腾讯:因光缆施工被挖断
黑狐病毒疯传播 电脑管家首推 专杀工具
微软张亚勤趋势判断:未来三十年属于物理化互联网