Exercise v2.2


Give the <div> element an image border using the image "border.png". Slice the image at 30px and repeat it.

Hint: Use the border-image shorthand property, like this border-image: source slice round;

Edit This Code:
Correct Code:
Go to w3schools.com
Reset Score
Close This Menu


CSS Syntax
CSS How To...
CSS Background
CSS Border
CSS Margin
CSS Padding
CSS Height/Width
CSS Box Model
CSS Outline
CSS Text
CSS Font
CSS Links
CSS Lists
CSS Tables
CSS Display/Visibility
CSS Positioning
CSS Overflow
CSS Align
CSS Combinators
CSS Pseudo-classes
CSS Pseudo-elements
CSS Opacity
CSS Attribute Selectors
CSS Rounded Corners
CSS Border Images
CSS Backgrounds
CSS Colors
CSS Gradients
CSS Shadow Effects
CSS Text
CSS Web Fonts
CSS 2D Transforms
CSS 3D Transforms
CSS Transitions
CSS Animations


Reset the Score?

This will reset the score of ALL 138 exercises.

Are you sure you want to continue?



You have finished all 138 CSS exercises.

Share your score on facebook: