[One day to learn a CSS3 attribute] bis: Box-shadow

Source: Internet
Author: User

Today is busy, not good to look at new things, just record a common CSS3 attribute bar: Box-shadow, the Shadow, if the Border-radius fillet is set, then the shadow is rounded

Box-shadow is currently a property supported by IE9 and above and other modern browsers.

Grammar:

Formal Syntax:none | [Inset && [<offset-x> <offset-y> <blur-radius>? <spread-radius>? <color>?]] #

Value:

Inset: Indicates that the shadow is inside the border (even without a border), above the background, under content;

Offset-x and offset-y: Offset, positive value indicates left and downward;

Blur-radius: Blur radius, default 0, cannot be negative;

Spread-radius: The positive shadow expands, the negative value is reduced, the default is 0.

Color: Colors that are undefined are determined by the browser.

[One day to learn a CSS3 attribute] bis: 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.