search
HomeWeb Front-endHTML TutorialCSS类似微软中国首页的竖向选项卡_html/css_WEB-ITnose

效果体验:
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="/static/imghwm/default1.png"  data-src="bags.jpg"  class="lazy" alt="" /><h2 id="产品">产品</h2><h3 id="何问起">何问起</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 id="产品信息">产品信息</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="/static/imghwm/default1.png"  data-src="service.jpg"  class="lazy" alt="" /><h2 id="桃树开花">桃树开花</h2><h3 id="摘桃">摘桃</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 id="桃树开花">桃树开花</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="/static/imghwm/default1.png"  data-src="news.jpg"  class="lazy" alt="" /><h2 id="奔跑吧兄弟">奔跑吧兄弟</h2><h3 id="Fusce-fermentum">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 id="奔跑吧兄弟">奔跑吧兄弟</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="/static/imghwm/default1.png"  data-src="press.jpg"  class="lazy" alt="" /><h2 id="Press-Release">Press Release</h2><h3 id="Quisque-varius">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 id="News-and-Information">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="/static/imghwm/default1.png"  data-src="contact.jpg"  class="lazy" alt="" /><h2 id="Contact-us">Contact us</h2><h3 id="Donec-condimentum">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 id="Contact-Details">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

特效:

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

The Role of HTML: Structuring Web ContentThe Role of HTML: Structuring Web ContentApr 11, 2025 am 12:12 AM

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTML and Code: A Closer Look at the TerminologyHTML and Code: A Closer Look at the TerminologyApr 10, 2025 am 09:28 AM

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

HTML, CSS, and JavaScript: Essential Tools for Web DevelopersHTML, CSS, and JavaScript: Essential Tools for Web DevelopersApr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

The Roles of HTML, CSS, and JavaScript: Core ResponsibilitiesThe Roles of HTML, CSS, and JavaScript: Core ResponsibilitiesApr 08, 2025 pm 07:05 PM

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

Is HTML easy to learn for beginners?Is HTML easy to learn for beginners?Apr 07, 2025 am 12:11 AM

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

What is an example of a starting tag in HTML?What is an example of a starting tag in HTML?Apr 06, 2025 am 12:04 AM

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

How to use CSS's Flexbox layout to achieve centering alignment of dotted line segmentation effect in menu?How to use CSS's Flexbox layout to achieve centering alignment of dotted line segmentation effect in menu?Apr 05, 2025 pm 01:24 PM

How to design the dotted line segmentation effect in the menu? When designing menus, it is usually not difficult to align left and right between the dish name and price, but how about the dotted line or point in the middle...

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),