Hu bojun talks about the effects of borders in CSS3, and Hu bojun talks about border in css3.

Source: Internet
Author: User

Hu bojun talks about the effects of borders in CSS3, and Hu bojun talks about border in css3.
Css3 defines rounded corners:
# Main {
Margin: 20px;
Border: 1px solid # E1E1E1;
-Moz-border-radius: 5px;-webkit-border-radius: 5px; border-radius: 5px;
Padding: 20px;

}


The following is a style reference in html:
<Div id = "main">

</Div>


The following is the border shadow defined by css3:

Instance
Add a box shadow to the div element:
Div
{
Box-shadow: 10px, 10px, 5px #888888;
}


The image border is set in css3 as follows:

Use an image to create a border around the div element:
Div
{
Border-image: url(border.png) 30 round;
-Moz-border-image: url(border.png) 30 round;/* Old Firefox */
-Webkit-border-image: url(border.png) 30 30 round;/* Safari and Chrome */
-O-border-image: url(border.png) 30 round;/* Opera */
}



Welcome to read my full set of online Java teaching UHD video:

Http://v.youku.com/v_show/id_XODQ1NjU0NDc2.html this is one of the video connection, you can drag to the youku video below, subscribe to my account, because later I will have more videos available for free

Baidu search: Enter the Fcs_D code farmer, or enter "Hu bojun" to view many of my videos.

Or add my ID: fcsboy. I can send you a notification in time.

QQ group: 237053693


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.