+ 1

What code should be use when we want a colour full border for an image ?

3rd Apr 2017, 3:20 PM
Rohan Kumar
Rohan Kumar - avatar
3 Réponses
+ 1
Either use CSS for that or use the style attribute in the img tag like this: <img src="" style="border: solid 2px red" border="2px" alt="">
3rd Apr 2017, 3:48 PM
Salim Irangi
Salim Irangi - avatar
+ 1
add in css. img { border-top: 1px solid red; border-right: 1px solid blue; border-bottom: 1px solid orange; border-yellow: 1px solid green; } You can add gradients by using advanced CSS techniques too
3rd Apr 2017, 5:56 PM
Naeem Rind
Naeem Rind - avatar