CSS instances--borders

Source: Internet
Author: User

Border-image:

    • Border-image-source
    • Border-image-slice: Clipping, which can be a pixel value or a percentage;
    • Border-image-width
    • Border-image-outset: The size of the border deviates from the base value, default 0;
    • Border-image-repeat:stretch stretching/repeat repeating/round tiling;
      • Demo//Note You need to use a slash between 3 parameters with parameter order in the middle
      • This value should consider the compatibility of different browsers;
      • If you can't see the border under Firefox, check the border-style:solid first;

Border-radius:

    • Border-top/button-left/right-radius
    • border-radius:100px 25px 50px 50px/50px 25px 50px 25px;

Border-shadow:h-shadow V-shadow [blur/* shadow Blur distance */spread/* Shadow Size */color inset];

    • Example:
      • box-shadow:5px 8px 5px 3px red;

      • box-shadow:5px 8px 5px 3px red inset;

CSS instances--borders

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.