<!DOCTYPE html>
<
html
>
<
head
>
<
style
>
body {
text-align: center;
}
h1 {
color: green;
}
.border1 {
border: 10px solid transparent;
padding: 15px;
border-image-source: url(
border-image-repeat: round;
border-image-width: 20px;
border-image-slice: 30;
border-image-outset: 10px 20px 12px 9px;
}
.border2 {
border: 10px solid transparent;
padding: 15px;
border-image-source: url(
border-image-repeat: round;
border-image-outset: 1;
border-image-slice: 30;
border-image-width: 20px;
}
.border3 {
border: 10px solid transparent;
padding: 15px;
border-image-source: url(
border-image-repeat: round;
border-image-outset: initial;
border-image-width: 20px;
}
.border4 {
border: 10px solid transparent;
padding: 15px;
border-image-source: url(
border-image-repeat: round;
border-image-outset: inherit;
border-image-width: 20px;
}
div {
margin-top: 20px;
}
</
style
>
</
head
>
<
body
>
<
h1
>GeeksforGeeks</
h1
>
<
h2
>border-image-outset property</
h2
>
<
div
class
=
"border1"
>Border 1(Length)</
div
>
<
div
class
=
"border2"
>Border 2(Number)</
div
>
<
div
class
=
"border3"
>Border 3(Initial)</
div
>
<
div
class
=
"border4"
>Border 4(Inherit)</
div
>
</
body
>
</
html
>