+ 3
Can we create different types of borders for images?
2 ответов
+ 6
Sure you can use different type of borders for images...
Just add "border-style" property in your css style sheet. You can use "dotted" or "solid" or "double" or "dashed" as border-style type. Also you can combine them to show multiple types of borders for same image.
1st example for single type of border "dashed" use for images :
img {
border-width: 5px;
border-style: dashed;
}
2nd example for multiple type of borders (Top Border, Right Border, Bottom Border, Left Border) use for same image :
img {
border-width: 5px;
border-style: dotted solid dashed double;
}
Hope this will answer your question...
0
I am