CSS Satin Ribbon effect

Source: Internet
Author: User

1. [Code]ribbon.html
<! DOCTYPE html>
<style type= "Text/css" >
. ribbon-content {
border:1px solid #DDD;
Font-weight:bold;
Margin:0 -10px;
min-height:30px;
PADDING:7PX 31px;
Text-align:center;
line-height:30px;
}

. ribbon-left {
Display:block;
border-left:10px solid white;
border-top:8px solid #EEE;
Float:left;
height:0;
Margin-left: -10px;
width:0;
}

. ribbon-right {
Display:block;
border-right:10px solid white;
border-top:8px solid #EEE;
Float:right;
height:0;
Margin-right: -10px;
width:0;
}
</style>
<body>
<div style= "margin:0 auto; width:200px; " >
<div class= "Ribbon" style= "Background:whitesmoke;" >
<div class= "ribbon-content" style= "Background:whitesmoke;" > Title </div>
<div class= "Ribbon-left" ></div>
<div class= "Ribbon-right" ></div>
</div> anime flash:http://www.huiyi8.com/donghua/?
<div style= "Background:whitesmoke;" Contents contents Content content contents contents of content content contents of the text content contents </div>
</div>
</body>

CSS Satin Ribbon effect

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.