CSS类似微软中国首页的竖向选项卡
效果体验:
http://hovertree.com/texiao/css/24/
源码下载:
http://hovertree.com/h/bjaf/hardklps.htm
代码如下:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>纯HTML+CSS类似微软中国首页的竖向选项卡_何问起</title><base target="_blank" />
<style type="text/css">
body {
background: #fff;
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
font-size: 12px;
} /* hovertreepage */
#hovertreepage ul#outer li div p {
font-size: 12px;
line-height: 16px;
margin: 5px 0 15px 0;
} #hovertreepage ul#outer li div h2 {
line-height: 1em;
color: #585;
font-size: 1.5em;
font-weight: normal;
margin-top: 0;
font-family: verdana, sans-serif;
} #hovertreepage ul#outer li div h3 {
line-height: 1em;
color: #66a;
font-size: 1.2em;
font-weight: normal;
margin-top: 0;
} #hovertreepage ul#outer li div h3.clear {
clear: left;
} #hovertreepage {
width: 650px;
height: 450px;
border: 1px solid #aaa;
background: #fff;
position: relative;
z-index: 500;
overflow: hidden;
text-align: left;
margin: 40px auto;
} #hovertreepage table {
border-collapse: collapse;
margin: -1px;
} #hovertreepage ul#outer {
background: transparent;
padding: 0;
margin: 0;
list-style: none;
} #hovertreepage ul#outer li.page {
display: inline;
}
/* needed for IE to function correctly */ #hovertreepage ul#outer li.page a.menuitem {
text-decoration: none;
} #hovertreepage ul#outer li.page i {
position: absolute;
display: block;
height: 25px;
right: 500px;
background: transparent;
cursor: default;
z-index: 100;
text-align: right;
text-decoration: none;
color: #080;
font-style: normal;
cursor: pointer;
} #hovertreepage ul#outer li.p1 i {
top: 30px;
} #hovertreepage ul#outer li.p2 i {
top: 55px;
} #hovertreepage ul#outer li.p3 i {
top: 80px;
} #hovertreepage ul#outer li.p4 i {
top: 105px;
} #hovertreepage ul#outer li.p5 i {
top: 130px;
} #hovertreepage ul#outer li.page div {
display: block;
width: 600px;
height: 400px;
padding: 25px;
font-weight: normal;
color: #444;
} #hovertreepage ul#outer li.p1 div {
background: #fff url(page1_back.jpg);
} #hovertreepage ul#outer li.p2 div {
background: #fff url(page2_back.jpg);
} #hovertreepage ul#outer li.p3 div {
background: #fff url(page3_back.jpg);
} #hovertreepage ul#outer li.p4 div {
background: #fff url(page4_back.jpg);
} #hovertreepage ul#outer li.p5 div {
background: #fff url(page5_back.jpg);
} #hovertreepage ul#outer li div img {
border: 1px solid #888;
float: right;
margin: 0 10px 5px 0;
} #hovertreepage ul#outer li div p.big {
line-height: 1em;
color: #004;
font-size: 1.5em;
} #hovertreepage ul#outer li div a {
color: #00c;
text-decoration: underline;
} #hovertreepage ul#outer li div em {
display: block;
width: 190px;
height: 230px;
float: left;
background: transparent url(current.gif) no-repeat;
margin-right: 10px;
} #hovertreepage ul#outer li.p1 div em {
background-position: 21px 0;
} #hovertreepage ul#outer li.p2 div em {
background-position: 21px 25px;
} #hovertreepage ul#outer li.p3 div em {
background-position: 21px 50px;
} #hovertreepage ul#outer li.p4 div em {
background-position: 21px 75px;
} #hovertreepage ul#outer li.p5 div em {
background-position: 21px 100px;
} #hovertreepage ul#outer li.page div a:hover {
text-decoration: none;
} #hovertreepage ul#outer li.page a:hover {
white-space: normal;
}
/* for IE6 */ #hovertreepage ul#outer :hover div {
position: absolute;
left: 0;
top: 0;
} #hovertreepage ul#outer a:hover i {
color: #66a;
font-weight: bold;
}
/* for IE6 */
#hovertreepage ul#outer :hover a i {
color: #66a;
font-weight: bold;
} #hovertreepage ul#outer div ul li {
line-height: 20px;
font-size: 0.9em;
color: #256;
list-style-type: disc;
} #hovertreepage ul#outer div ul li a {
line-height: 20px;
font-size: 1.1em;
color: #c00;
} #hovertreepage ul#outer div dl dd {
line-height: 20px;
font-size: 1.1em;
color: #448;
} #hovertreepage ul#outer div dl dt {
line-height: 30px;
font-size: 1.3em;
color: #333;
}
</style>
</head>
<body> <div id="hovertreepage"> <ul id="outer">
<li class="page p1">
<a href="#nogo" class="menuitem"><i>产品</i><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<div>
<em></em>
<img src="bags.jpg" alt="" />
<h2>产品</h2>
<h3>何问起</h3>
<ul>
<li><a href="http://hovertree.com/menu/texiao/">网页特效</a></li>
<li><a href="http://hovertree.com/h/bjaf/ati6k7yk.htm">jQuery下载</a></li>
<li><a href="http://hwq2.com">hwq2.com</a></li>
</ul>
<h3 class="clear">产品信息</h3>
<p>
提供jQuery特效,Javascript实例,Bootstrap,网址收藏夹,ASP.NET源码等内容资料,欢迎访问!
</p>
</div>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="page p2">
<a href="#nogo" class="menuitem"><i>桃树开花</i><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<div>
<em></em>
<img src="service.jpg" alt="" />
<h2>桃树开花</h2>
<h3>摘桃</h3>
<ul>
<li><a href="http://hovertree.com/h/bjaf/taoshu.htm">查看代码</a><br />css实现的桃子摆动动画。</li>
<li><a href="http://hovertree.com/texiao/css3/26/">链接标题</a><br />链接说明内容</li>
<li><a href="http://hovertree.com/h/bjaf/jldgxqd6.htm">打字机动画</a><br />jquery多种方式的打字机动画效果</li>
<li><a href="http://hovertree.com/h/bjaf/dianzishu.htm">翻页电子书</a><br />jQuery翻页电子书</li>
</ul>
<h3 class="clear">桃树开花</h3>
<p>鄱阳湖是世界上最大的鸟类保护区,“鄱阳湖畔鸟天堂,鹬鹳低飞鹤鹭翔;野鸭寻鱼鸥击水,丛丛芦苇雁鹄藏”,每年秋末冬初,有成千上万只候鸟,从俄罗斯西伯利亚、蒙古、日本、朝鲜以及中国东北、西北等地来此越冬。</p>
</div>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="page p3">
<a href="#nogo" class="menuitem"><i>奔跑吧兄弟</i><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<div>
<em></em>
<img src="news.jpg" alt="" />
<h2>奔跑吧兄弟</h2>
<h3>Fusce fermentum</h3>
<ul>
<li><a href="http://hovertree.com/h/bjaf/5f5eiagg.htm">查看效果。<br />Malesuada fames ac turpis egestas.</a></li>
<li>Vivamus dignissim tincidunt quam.</li>
<li>Nullam varius vestibulum mauris.</li>
<li>Curabitur faucibus varius dui.<br /><a href="#nogo3">Cras suscipit viverra felis. Nullam diam.</a></li>
<li>Vivamus convallis volutpat nunc.</li>
<li>Sed porttitor dui vel nunc.</li>
</ul>
<h3 class="clear">奔跑吧兄弟</h3>
<p>Nam porttitor congue diam. Donec in mi. Fusce ac neque. Donec quis justo. Nunc non justo quis augue sagittis volutpat. Etiam quis ligula commodo augue tempus pulvinar. Morbi ante arcu, aliquam ut, consequat et, consequat sed, sem. Cras suscipit viverra felis. Nullam diam. Duis eros purus, ornare sit amet, viverra sed, laoreet ac, pede.</p>
</div>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="page p4">
<a href="http://hovertree.com/h/bjaf/5f5eiagg.htm" class="menuitem"><i>效果查看</i><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<div>
<em></em>
<img src="press.jpg" alt="" />
<h2>Press Release</h2>
<h3>Quisque varius</h3>
<dl>
<dt>11th June 2007</dt>
<dd>In feugiat scelerisque pede.</dd>
<dd>Morbi iaculis eleifend ante.</dd>
<dd>Maecenas fringilla scelerisque erat.</dd>
<dd>Nam <a href="nogo5">accumsan</a> egestas eros.</dd>
</dl>
<h3 class="clear">News and Information</h3>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse vitae sem. <a href="nogo5">Class aptent taciti</a> sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Donec ut nunc. <a href="nogo5">In dictum, dui nec vehicula vehicula</a>, neque leo faucibus est, porta vehicula nisi odio eu tellus.</p>
</div>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="page p5">
<a href="#nogo" class="menuitem"><i>Contact us</i><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<div>
<em></em>
<img src="contact.jpg" alt="" />
<h2>Contact us</h2>
<h3>Donec condimentum</h3>
<ul>
<li>Phasellus vitae arcu et mauris facilisis ornare.</li>
<li>Nullam ultrices <a href="#nogo5">urna nec erat</a> facilisis faucibus.</li>
<li>Ut cursus posuere eros.</li>
<li>Vestibulum <a href="#nogo5">dapibus</a> tortor eu nisl.</li>
<li>Proin ac mauris non lacus pharetra aliquet.</li>
</ul>
<h3 class="clear">Contact Details</h3>
<p><a href="http://hovertree.com">首页</a> <a href="http://hovertree.com/texiao/">特效</a> <a href="http://hovertree.com/h/bjaf/30dq3r8y.htm">原文</a></p>
</div>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
</div>
</body>
</html>
转自:http://hovertree.com/h/bjaf/30dq3r8y.htm
推荐:http://hovertree.com/h/bjaf/n781jmfy.htm
特效:http://www.cnblogs.com/jihua/p/webfront.html
CSS类似微软中国首页的竖向选项卡的更多相关文章
- WindowsForm如何实现类似微软project软件的甘特图?
在管理软件研发过程中,特别是涉及项目管理或者生产计划方面,都需要一款类似微软project的控件对项目下的分解任务进行图形展示(甘特图).下面介绍一下在WindowsForm下如何实现类似微软proj ...
- 微软YY公开课[《微软中国云计算Azure平台体验与新企业架构设计》 周六晚9点
YY频道是 52545291//@_勤_: YY账号真的是一次一账号啊! 全然记不得之前注冊的//@老徐FrankXuLei: 最火爆的微软免费公开课.第一次顶峰126人.第二次96人.第三次我们又来 ...
- 内部消息 微软中国云计算 内測Azure免费账号 赶紧申请 错过不再有
内部消息 微软中国云计算 顶级内測Azure免费账号 火热申请 过期不再有! 微软MSDN俱乐部 29754721, [一大波Azure免费账号来袭]Windows Azure再次开启示放免费试用账 ...
- mui 登录跳转到首页之后顶部选项卡不灵敏问题
前段时间开发一个用mui开发app的时候遇到了登录跳转到首页之后顶部选项卡会失灵的问题,多次尝试之后终于解决了,趁现在还有点印象记录一下吧. 一开始我是用mui.openWindow来新开首页的,出了 ...
- css实现横向进度条和竖向进度条
一.横向进度条 <html> <head> <title>横向进度条</title> <style type="text/css&quo ...
- css实现360导航首页超链接变色
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- 刷新神经网络新深度:ImageNet计算机视觉挑战赛微软中国研究员夺冠
微软亚洲研究院首席研究员孙剑 世界上最好计算机视觉系统有多精确?就在美国东部时间12月10日上午9时,ImageNet计算机视觉识别挑战赛结果揭晓——微软亚洲研究院视觉计算组的研究员们凭借深层神经网络 ...
- 微软中国裁员曝光:在CD结束后!薪酬不变!
聚众抗议的前诺基亚员工(腾讯科技配图) 腾讯科技 郭晓峰 腾讯科技刚刚获取了一份微软设备事业部中国区管理团队4日晚间发给被裁员工的补偿方案邮件. 邮件内容显示,微软承诺在收购诺基亚交易结束(2014年 ...
- 练习html,css,js仿制百度首页
1.练习目的 练习使用html,scc,js 完成界面样式,用ul标签实现文本框下拉,通过js完成添加列表内容等功能 2.效果 3.程序代码 <!DOCTYPE html> <htm ...
随机推荐
- 乐乎环球WiFi
乐乎环球WiFi招商加盟 随身WiFi设备 乐乎环球Wifi是由北京蔚蓝创智科技有限公司研发的产品,是一款可以在全球100多个国家和地区实现免漫游4G高速上网的随身WiFi设备.和普通MiFi设备相比 ...
- D3.js学习(六)
上节我们学习了如何绘制多条曲线, 以及给不同的曲线指定不同的坐标系.在这节当中,我们会对坐标轴标签相关的处理进行学习.首先,我们来想一个问题, 如何我们的x轴上的各个标签的距离比较近,但是标签名又比较 ...
- .NET面试题系列[5] - 垃圾回收:概念与策略
面试出现频率:经常出现,但通常不会问的十分深入.通常来说,看完我这篇文章就足够应付面试了.面试时主要考察垃圾回收的基本概念,标记-压缩算法,以及对于微软的垃圾回收模板的理解.知道什么时候需要继承IDi ...
- Vue.js——vue-resource全攻略
概述 上一篇我们介绍了如何将$.ajax和Vue.js结合在一起使用,并实现了一个简单的跨域CURD示例.Vue.js是数据驱动的,这使得我们并不需要直接操作DOM,如果我们不需要使用jQuery的D ...
- 【技巧】使用weeman来做一个钓鱼网页
本文来自网友836834283 对玄魂工作室的投稿. 工具项目地址:https://github.com/Hypsurus/weeman/ 克隆地址:https://github.com/Hypsur ...
- 【初探Spring】------Spring IOC(三):初始化过程---Resource定位
我们知道Spring的IoC起到了一个容器的作用,其中装得都是各种各样的Bean.同时在我们刚刚开始学习Spring的时候都是通过xml文件来定义Bean,Spring会某种方式加载这些xml文件,然 ...
- Java基础知识(壹)
写在前面的话 这篇博客,是很早之前自己的学习Java基础知识的,所记录的内容,仅仅是当时学习的一个总结随笔.现在分享出来,希望能帮助大家,如有不足的,希望大家支出. 后续会继续分享基础知识手记.希望能 ...
- spring各jar包作用(转载)
除了spring.jar文件,Spring还包括有其它13个独立的jar包,各自包含着对应的Spring组件,用户可以根据自己的需要来选择组合自己的jar包,而不必引入整个spring.jar的所有 ...
- 单选按钮加confirm进行判断返回false任被选中问题
<html> <head> <script language="javascript"> var checkValue = "&quo ...
- xamarin android ListView手动分组
xamarin的listview控件其实自带有分组方法,关于xamarin listview的自带分组方法请自行参考官方文档,我这里只写自己写的分组方法.xamarin自带的分组好是好,功能多,但是加 ...