+ 1
What code should be use when we want a colour full border for an image ?
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="">
+ 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