×
×
Correct!
Give the div element an image border. Use the short hand property to define the details of the image border.
<style>
div {
border: 10px solid transparent;
@(12): url(border.png) 30 round;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border: 10px solid transparent;
border-image: url(border.png) 30 round;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?