How do I use the jquery rounded corner plug-in?

Source: Internet
Author: User

The latest version of Google used by the browser, jquery plug-in has also been referenced, and it won't work out. paste the code to help you see it. Thank you!

 

<Html>
<Head>
<Meta charset = "UTF-8"/>
<Title> jquery rounded corner plug-in example </title>
<Script type = "text/javascript" src = "js/jquery-1.10.2.min.js"> </script>
<Script type = "text/javascript" src = "js/jquery. corner. js"> </script>
<Style>
*{
Margin: 0;
Padding: 0
}
. Page {
Width: 920px;
Text-indent: 20px;
}
. Top {
Background: # ff0000 url (http://www.buger.net/images/light-sky2.jpg );
Width: 600px;
Height: 100px;
}
. Xtop {
Background: # FFFFCC;
Width: 100%;
Height: 100%;
}
. Bg {
Background: # CC8822;
Width: 300px;
Height: 100px;
Padding: 8px;
}
</Style>
</Head>
<Body>
<Script>
$ (". Top"). corner (""); // rounded corner of the image
$ (". Xtop"). corner ("round 14px"); // rounded rectangle
$ (". X1"). corner ("bevelfold"); // varus
// $ (". Xtop"). corner ("long 14px"); // The excircle rectangle is missing
$ (". Bg"). corner ("");
</Script>
<Div class = "page">
<Div class = "top" data-corner = "left 20px right 20px"> </div>
<Br>
<Div class = "bg">
<Div class = "xtop x1"> tuhao
</Div>
</Div>
<Br>
<Div>
<Div class = "bg">
<Div class = "xtop" data-corner = "left 5px right 5px"> tuhao local tyrants and local tyrants </div>
</Div>
</Div>
</Body>
</Html>

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.