Implementation of css sliding door rounded corner frame

Source: Internet
Author: User
The code is as follows: Copy code

<Style type = "text/css">
. Rounded {
Font: Arial, Helvetica, sans-serif;
Background: url(sl.gif) top left no-repeat;
Width: 90%;
 }
. Rounded h3 {
Margin: 0 0-25px 0;
Padding: 20px 20px 10px;
Background: url(sr.gif) no-repeat top right;
}
. Rounded div. main {
Text-indent: 2em;
Margin:-1em 0 0 0;
Padding: 0 0 0 0px;
Background: url(bottom.gif) top right repeat-y;
 }
. Rounded div. footer {
Text-indent: 2em;
Margin:-2.5em 0-0.5em 0px;
Padding: 0px 0 0 0;
Background: url(xr.gif) right bottom no-repeat;

 }
. Rounded div. footer p {
Display: block;
Margin:-1.5em 30px 0 0;
Padding: 30px 0px 62px 10px;
Background: url(xl.gif) left bottom no-repeat;

}
</Style>
</Head>

<Body>
<Div class = "rounded">
<H3> This is a two-dimensional sliding door <Div class = "main">
<P> What company is the joint course of the technology special Oh and artificial chemicals for the skin of the chemical network chemical industry and the use of workers </p>
</Div>
<Div class = "footer">
<P> What is the amount of chemical industry opened by Buddha at my port? </p>
</Div>
</Div>
</Body>


Instance 2

The code is as follows: Copy code

<Style type = "text/css">
# Rounded {
Margin: 0;
Padding: 0;
Width: 400px;
Background: # ccc url(left_top.gif) no-repeat;
}
# Rounded h3 {
Text-align: center;
Margin: 0;
Padding: 30px 0 15px 10px;
Background: url(right_top.gif) no-repeat right top;
}
# Rounded p {
Margin: 0;
Padding: 0;
Background: url(left_bottom.gif) no-repeat left bottom;
}
# Rounded p span {
Text-indent: 2em;
Margin: 0;
Padding: 0 5px 30px 10px;
Display: block;
Background: url(right_bottom.gif) no-repeat right bottom;
}
</Style>
<Body>
<Div id = "rounded">
<H3> We are the guys. The management card is the capital. <P> <span> When I receive a customer, I will get a quicker and poor price. I will pay more for it. I will stay with me without looking at it. I will get a quicker and poor price. if you get a better picture and get a better picture of it, you can get a better picture of it. If you get a better picture of it, you can get a better picture of it. If you get a better picture of it, you can get a better picture of it. it will be faster, poor price, European compensation, and so on. I have never seen a fast customer. I will be faster, poor price, and European compensation, and I will never have seen it. quick content. </Span> </p>
</Div>
</Body>

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.