How to change border colour of an image ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to change border colour of an image ??

Answer with example

29th May 2019, 1:14 PM
kabir
2 Answers
+ 10
Use border property, Ex: img { border: 1px solid black; } /* Here you create a border of solid 1px black around the image */ Hope it helps you.
29th May 2019, 1:22 PM
Yathin Babu
Yathin Babu - avatar
+ 7
Extending Yathin Babu answer. You can do it with CSS. For more information , refer to this lesson by sololearn : https://www.sololearn.com/learn/CSS/1101/ Thanks
29th May 2019, 1:40 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar