Extract the CSS fillet effect from Youa _ navigation menu

Source: Internet
Author: User

Copy Code code as follows:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title> Youa CSS Fillet scheme </title>
<style>
. Box1{background:url (' yun_qi_img/20090330140617327.gif ') repeat-x #1d6cb7; margin-top:1em;position:relative;zoom : 1;width:778px;}
. box1. Tl,.box1. Tr,.box1 bl,.box1. Br Width:5px;height:5px;position:absolute;background:url (' yun_qi_img/ 20090330140618989.gif ') No-repeat;overflow:hidden; }
. box1. cc{height:40px; padding:5px;}
. box1. tl {left:0;top:0}
. box1. tr {right:0;top:0;background-position:0 -5px}
. box1. BL {left:0;bottom:0;background-position:0 -10px}
. box1. br {right:0;bottom:0;background-position:0 -15px}
. box2{border:1px solid #84cedd; margin-bottom:.8em;position:relative;zoom:1;width:778px;}
. Box2. Tl,.box2. Tr,.box2 bl,.box2. Br Width:6px;height:6px;position:absolute;background:url (' yun_qi_img/ 20090330140618283.gif ') No-repeat;overflow:hidden;
. box2. cc{height:40px; padding:5px;}
. box2. tl {LEFT:-1PX;TOP:-1PX}
. Box2. tr {right:-1px;top:-1px;background-position:0 -6px}
. box2. BL {left:-1px;bottom:-1px;background-position:0 -12px}
. box2. br {right:-1px;bottom:-1px;background-position:0 -18px}
. box3{position:relative;zoom:1;padding:1em 1.5em;margin:.5em 0 1em 0; background: #f1f6de}
. box3. Tl,.box3. Tr,.box3 bl,.box3. Br Width:5px;height:5px;position:absolute;background:url (' yun_qi_img/ 20090330140618807.gif ') No-repeat;overflow:hidden;
. box3. cc{height:40px; padding:5px;}
. box3. tl {left:0;top:0}
. box3. tr {right:0;top:0;background-position:0 -5px}
. box3. BL {left:0;bottom:0;_bottom:-1px;background-position:0 -10px}
. box3. br {right:0;bottom:0;_bottom:-1px;background-position:0 -15px}
</style>
<body>
<div class= "Box1" >
<span class= "tl" ></span><span class= "tr" ></span>
<div class= "CC" >
<p> rounded Corner One </p>
</div>
<span class= "BL" ></span><span class= "BR" ></span>
</div>
<p></p>
<div class= "Box2" >
<span class= "tl" ></span><span class= "tr" ></span>
<div class= "CC" >
<p> rounded Corner two </p>
</div>
<span class= "BL" ></span><span class= "BR" ></span>
</div>
<p></p>
<div class= "Box3" >
<span class= "tl" ></span><span class= "tr" ></span>
<div class= "CC" >
<p> rounded corner three </p>
</div>
<span class= "BL" ></span><span class= "BR" ></span>
</div>
<br/><br/> more code please visit <a href= "http://www.jb51.net/" target= "_blank" > Yun-Habitat Community </a>
</body>


<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <ptml xmlns=" http://www.w3.org/1999/xhtml "> <pead> <meta http-equiv=" Content-type "content=" text/html; charset=gb2312 "/> <title> youa css fillet scheme </title> <style> box1{background:url (' yun_qi_img/ 20090330140617327.gif ') repeat-x #1d6cb7; margin-top:1em;position:relative;zoom:1;width:778px;} . box1. Tl,.box1. Tr,.box1 bl,.box1. Br Width:5px;height:5px;position:absolute;background:url (' yun_qi_img/ 20090330140618989.gif ') No-repeat;overflow:hidden; }. box1. cc{height:40px; padding:5px;} . box1. tl {left:0;top:0} . box1. tr {right:0;top:0;background-position:0 -5px} . box1. BL {left:0;bottom:0;background-position:0 -10px} . box1. br {right:0;bottom:0;background-position:0 -15px} . box2{border:1px solid #84cedd; margin-bottom:.8em;position:relative;zoom:1;width:778px;} . Box2. Tl,.box2. Tr,.box2 bl,.box2. br {Width:6px;heiGht:6px;position:absolute;background:url (' Yun_qi_img/20090330140618283.gif ') No-repeat;overflow:hidden} . box2. cc{height:40px; padding:5px;} . box2. tl {LEFT:-1PX;TOP:-1PX} . Box2. tr {right:-1px;top:-1px;background-position:0 -6px} . box2. BL {left:-1px;bottom:-1px;background-position:0 -12px} . box2. br {right:-1px;bottom:-1px;background-position:0 -18px} . box3{position:relative;zoom:1;padding:1em 1.5em;margin:.5em 0 1em 0 background: #f1f6de}. box3 tl,.box3. Tr,.box3. bl ,. Box3. br {width:5px;height:5px;position:absolute;background:url (' yun_qi_img/20090330140618807.gif ') no-repeat;o Verflow:hidden;} . box3. cc{height:40px; padding:5px;} . box3. tl {left:0;top:0} . box3. tr {right:0;top:0;background-position:0 -5px} . box3. BL {left:0;bottom:0;_bottom:-1px;background-position:0 -10px} . box3. br {right:0;bottom:0;_bottom:-1px;background-position:0 -15px} </style> </pead> <body> <div class= "Box1" > <span class= "tl" ></span><span CLAss= "TR" ></span> <div class= "cc" > <p> rounded Corner one </p> </div> <span class= "BL" ></span ><span class= "br" ></span> </div> <p></p> <div class= "Box2" > <span class= "tl "></span><span class=" tr "></span> <div class=" cc "> <p> rounded corner two </p> </div> & Lt;span class= "BL" ></span><span class= "br" ></span> </div> <p></p> <div class= "Box3" > <span class= "tl" ></span><span class= "tr" ></span> <div class= "CC" > <p> rounded corner three </p> </div> <span class= "bl" ></span><span class= "BR" ></span> </ Div> more code please visit Cloud Communities </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.