Menu
×
×
Correct!
Exercise:The image border needs a
<style>
div {
border-image-source: url(border.png);
border-image-repeat: @(7);
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: stretch;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: repeat;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: round;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: space;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: initial;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: inherit;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?