CSS fourth day summary more properties rounded border picture Paragraph properties color Gradient box Shadow

Source: Internet
Author: User

Rounded border:

Border-radius A value that represents the circle radius of Four Corners, 4 values are the upper-left corner, the upper-right corner, the lower-left corner, the lower-right corner, the unit can be px and percent, and the percentage is the ratio of the radius relative to the border length

In the CSS3 we can finally set the rounded corners quickly, and through this property we can also make the circle, semicircle, four points a circle, ellipse and other graphics.

Common fillet Effects:

div{border-radius:15px;}

Two values, respectively, refers to the horizontal radius and the vertical direction of the radius, separated by a/number, such as:

div{border-radius:5px 3px 4px 2px/1px 2px 3px 4px;}

Round:

div{border-radius:50%;}

CSS fourth day summary more properties rounded border picture Paragraph properties color Gradient box Shadow

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.