W3Schools.com

CSS Reference

CSS Reference
CSS Selectors
CSS Reference Aural
CSS Web Safe Fonts
CSS Units
CSS Colors
CSS Color Values
CSS Color Names
CSS Color HEX
CSS3 Browser Support

CSS Properties

CSS3 border-image-repeat Property

CSS Reference Complete CSS Reference

Example

Specify how to repeat the image-border:

div
{
border-image-source: url(border.png);
border-image-repeat: round;
}

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The border-image-repeat property is not supported in any of the major browsers.

Look at the border-image property instead!


Definition and Usage

The border-image-repeat property specifies whether the image-border should be repeated, rounded or stretched.

Default value: stretch
Inherited: no
Version: CSS3
JavaScript syntax: object.style.borderImageRepeat="round"


Syntax

border-image-repeat: stretch|repeat|round;

Note: This property specifies how the images for the sides and the middle part of the border image are scaled and tiled. So, you can specify two values here. If the second value is omitted, it is assumed to be the same as the first.

Value Description
stretch The image is stretched to fill the area
repeat The image is tiled (repeated) to fill the area
round The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so it fits


CSS Reference Complete CSS Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE