Home »
MCQs »
Advanced CSS MCQs
Which CSS property allows you to specify an image to be used instead of the normal border around an element?
2. Which CSS property allows you to specify an image to be used instead of the normal border around an element?
- border-image
- border-picture
- border-background
- border-bgimage
Answer: A) border-image
Explanation:
The border-image property allows you to specify an image to be used instead of the normal border around an element.
Example:
.borderedimage{
border-image: url(border.png) 30 round;
}