Pure CSS for breadcrumb-style navigation

Source: Internet
Author: User

Refer to someone else's tutorial and imitate it:

Html:

   <DivID= "Crumbs">        <ul>                <Li><ahref="#">Breadcrumb</a></Li>        </ul></Div> 

Css:

#crumbs ul Li a{Display:Block;float: Left;Height:50px;background:#3498db;text-align:Center;padding:30px 40px 0 40px;position:relative;margin:0 10px 0 0;font-size:20px;text-decoration:None;Color:#fff;}#crumbs ul Li A:after{Border-top:40px Solid Transparent;Border-left:40px Solid #3498db;Border-bottom:40px Solid Transparent;content:"';position:Absolute; Right:-40px;Top:0; }#crumbs ul Li A:before{Border-top:40px Solid #3498db;Border-left:40px Solid Transparent;Border-bottom:40px Solid #3498db;content:"';position:Absolute; Right:180px;Top:0; }

Note: Even if the content does not set any characters, it is necessary to write out the content is empty, otherwise it will not show

Pure CSS for breadcrumb-style navigation

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.