Very good compatibility with pure CSS rounded corners

Source: Internet
Author: User

<!DOCTYPE HTML><HTMLLang= "en -us"><Head>    <MetaCharSet= "UTF-8">    <title>Pure CSS Fillet</title>    <styletype= "Text/css">#xsnazzy H1, #xsnazzy H2, #xsnazzy p{margin:0 10px;letter-spacing:1px;}#xsnazzy H1{font-size:2.5em;Color:#fff;}#xsnazzy H2{font-size:2em;Color:#06a;Border:0;}#xsnazzy P{Padding-bottom:0.5em;}#xsnazzy H2{Padding-top:0.5em;}#xsnazzy{background:Transparent;margin:1em;}. Xtop,.xbottom{background:Transparent;font-size:1px;}. Xb1,.xb2,.xb3,.xb4{Overflow:Hidden;}. Xb1,.xb2,.xb3{Height:1px;}. Xb2,.xb3,.xb4{background:#ccc;Border-left:1px solid #08c;Border-right:1px solid #08c;}. Xb1{margin:0 5px;background:#08c;}. Xb2{margin:0 3px;Border-width:0 2px;}. Xb3{margin:0 2px;}. Xb4{Height:2px;margin:0 1px;}. Xboxcontent{background:#ccc;Border:0 Solid #08c;Border-width:0 1px;}    </style></Head><Body>    <DivID= "Xsnazzy">        <Divclass= "Xtop">            <Divclass= "Xb1"></Div>            <Divclass= "Xb2"></Div>            <Divclass= "Xb3"></Div>            <Divclass= "Xb4"></Div>        </Div>        <Divclass= "Xboxcontent">            <H1>Snazzy Borders</H1>            <P>Based on Nifty Corners by Alessandro Fulciniti<BR/>http://pro.html.it/esempio/nifty/</P>            <H2>Rounded borders without images</H2>            <P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibheuismod tincidunt ut laoreet dolore magna A Liquam erat volutpat. Ut wisi enimad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nislut aliquip ex ea commodo consequ At.</P>            <P>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla Facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue Duis dolore Te feugait nulla facilisi.</P>        </Div>        <Divclass= "Xbottom">            <Divclass= "Xb4"></Div>            <Divclass= "Xb3"></Div>            <Divclass= "Xb2"></Div>            <Divclass= "Xb1"></Div>        </Div>    </Div></Body></HTML>

Very good compatibility with pure CSS rounded corners

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.