爱易网
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特效
仿淘宝商品列表顶部浮动工具栏菜单特效
仿淘宝商品列表顶部浮动工具栏菜单特效
日期:2014-05-18 浏览次数:20308 次
以下是程序代码
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8" /> <title>fixed仿淘宝商品列表顶部浮动工具栏效果</title> <meta name="author" content="走起来" /> <meta name="copyright" content="爱易网网页特效演示 js.aiyiweb.com" /> <!-- style begin --> <style> * { padding: 0; margin: 0; } li { list-style: none; } img { border: none; } body {background:#fff;font: 12px/1.5 tahoma,arial,宋体b8b\4f53;} a{text-decoration:none;color:#36C;} a:hover {color:red;text-decoration: none;} .filter-tools-box {background-color: white;z-index: 90;width:750px;margin:0 auto;} .filter-follow{position:fixed;width:750px;top:0;left:50%;margin-left:-375px;} .filter-tools {height: 20px;padding: 7px 8px;color: #404040;background:#ddd;border: 1px solid #CCC;border-top: none;position: relative;z-index: 105; } .filter-tools li {display: inline;float: left;} .filter-tools .thumb-mode a {background:url('http://www.css3train.com/images/ico.png') no-repeat -79px -3px;} .filter-tools .mode a {display: block;width: 64px;height: 18px;overflow: hidden;padding: 0 0 0 20px;text-decoration: none;border: 1px solid #CCC;} .filter-tools .thumb-mode a:hover {background:url('http://www.css3train.com/images/ico.png') no-repeat -79px -20px;} .filter-tools .mode a:hover {color: #404040;border: 1px solid #308ED1;} .filter-tools .order {position: relative;z-index: 1;margin-left: 20px;} .filter-tools .order .label {height: 20px;margin-right: 4px;line-height: 20px;line-height: 22px 9;_line-height: 18px;} .filter-tools .order .label, .filter-tools .order .select-item {display: inline;float: left;color: #404040;} .filter-tools .order .select-item {width: 94px;} .filter-tools .order .item-list {left: 28px;width: 120px;} .item-list {display: none;position: absolute;top: 19px;left: 0;overflow: hidden;background: white;border: 1px solid #A6A6A6;} .filter-tools .order .item-list li {width: 100%;height: 22px;overflow: hidden;padding: 0;line-height: 22px;line-height: 24px 9;_line-height: 22px;border-bottom: 1px solid #D9E9FB;} .filter-tools .order .by-price-asc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -38px;} .filter-tools .order .by-price-desc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -59px;} .filter-tools .order .by-credit-desc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -78px;} .filter-tools .order .by-sale-desc a{background:url('http://www.css3train.com/images/ico.png') no-repeat -72px -97px;} .filter-tools .order .item-list .selected a {cursor: default;background-color: #EEE;} .filter-tools .order .item-list a:hover {background-color: #EEE;} .filter-tools .order .item-list a {display: block;width: 92px;margin: 1px 0;padding-left: 28px;text-decoration: none;color: black;} .filter-tools .way {margin-left: 20px;} .filter-tools .way .by-credit, .filter-tools .way .by-sale {background:url('http://www.css3train.com/images/ico.png') no-repeat -30px -13px;} .filter-tools .way .by-credit:hover, .filter-tools .way .by-sale:hover{background:url('http://www.css3train.com/images/ico.png') no-repeat -30px -49px;} .filter-tools .way a {display: inline;float: left;width: 42px;height: 18px;overflow: hidden;margin-right: -1px;padding: 0;text-indent: 5px;line-height: 18px;line-height: 20px 9;_line-height: 16px;border: 1px solid #CCC;} .filter-tools .way .by-price {background:url('http://www.css3train.com/images/ico.png') no-repeat -30px 4px;} .filter-tools .way .by-price:hover{background:url('http://www.css3train.com/images/ico.png') no-repeat -30px -32px;} .filter-tools .way a:hover,
上一篇:狡猾的按钮特效
下一篇:论坛帖子页面左下角的绝对定位浮动的导航条+返回顶部的JS特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
HTC与苹果三星距离扩展 C2B形式成新武器
微信收费形式三选一 腾讯或变身运营商
看,网络文学今日之繁盛;忆,纯真去哪了?
iPhone 6 Plus要召回是谣言
创维冲击500亿梦想:转型硬件和内容供应商
百度透露无人驾驶战略 研发三维交通地图
只有切到刚需痛点,漫画APP才能走下去
从雷军的“互联网七字诀”告诉你一个非妖魔化的小米
微软很“捉急”:补贴Win8 重加末尾按钮
推荐阅读
更多>
湖南卫视扶持芒果TV杀入媒体:版权独播不分销
论:三大运营商运用商店逆袭并非不能够
迅雷向美SEC提交IPO招股书:拟最多筹资1亿美元
充斥着假消息负能量的“秘密”缺乏普适性
中移动将推出多项4G资费新政
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
OPPO Find7体验测 Find7综测
Android版WhatsApp曝漏洞:聊天记录可被窃取
火狐手机发展前路:或被运营商绑架
中方抗议美方限购IT设备 紧张关系加剧
苹果6月20日发布iPhone5S 触摸屏概念股生动
京东物流"最后一公里":颠覆阿里或者被阿里干掉
三星维修新规:Galaxy S4主板进水也收费修
2019双12阿里云老用户怎么参加拼团活动 老用户拼团方法
永不磨灭的九大尖端编程语言
阿里巴巴450亿勾画“现代服务业”藏宝图
历史惊人相似:如今的库克 曾经的鲍尔默
苹果iWatch或使用量产液态金属 将取代玻璃
传陌陌或12月赴美IPO 估值约30亿美元
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?