CSS3 's Border-image

Source: Internet
Author: User

Border-image:none|image-url|number|percentage|stretch,repeat,round

Parameters:

None: Default, no background picture

URL: Address, can be absolute, can also be relative

Number: The border size of the cut background picture can have a total of 1-4 values, top, right, bottom, left

Percentage: function with number, only it is used as a percentage, numbers is numeric (do not write units, units are px)

Stretch: Stretching

Round: Tiling

Repeat: repeating border background

1, the border background is cut, in four corner of the place does not move, tiling, stretching, repeat only for four sides, not including four corners.

"Original Border Background"

. border-img{            width:200px;            border:20px solid;            -webkit-border-image:url ("Picture/12.png") stretch;            Border-image:url ("Picture/12.png") stretch;        
    
   <div class= "Border-img" >border-img</div>

  

CSS3 's Border-image

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.