A simple understanding of the border picture style

Source: Internet
Author: User

Border-image:url: (images/whitebutton.png) 0 0 stretch stretch;
"0 12 0 12": In the clockwise direction is the width of the left border on the upper right, that is: 0; right: 12; bottom: 0; Left: 12.
Stretch | Repeat | Round is the method of image stretching after removing the bounding rectangle, the first stretch is the upper and lower Extrude method, the second stretch is the left and right stretching method:
Stretch: Specifies that the border background image is filled with a stretch.
Repeat: Specifies that the border background map is populated with tiling. When the picture touches the border, it is truncated if it is exceeded.
Round: Specifies that the border background map is populated with tiling. The picture dynamically adjusts the size of the picture according to the size of the border until it fills the entire border.

A simple understanding of the border picture style

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.