Can we create different types of borders for images? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can we create different types of borders for images?

15th Jul 2016, 6:50 AM
Keshava Shourie
Keshava Shourie - avatar
2 Answers
+ 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...
15th Jul 2016, 4:26 PM
Md Sazzad Husain
Md Sazzad Husain - avatar
0
I am
11th Sep 2016, 1:56 PM
Royden Morin
Royden Morin - avatar