+ 2
Border color
how can i change the border color? <img src = "https://img.coopathome.ch/produkte/300_300/RGB/3697506_001.jpg?_=1455455159500" height = "250" width = "300" border =/>
4 Respuestas
+ 4
thx
+ 2
use rule:
border-color: red; // styles all the borders to red
border-color: red green; // styles top and bottom to red, the others to green
border-color: red green blue; // styles top to red right and left to green and bottom to blue
border-color: red green blue yellow; // styles top to red, right to green, bottom to blue and left to yellow.
https://www.w3schools.com/cssref/pr_border-color.asp
+ 2
include in your IMG class and assign it: border: 1px solid red;
in css file
For example:
Border color
<img src = "https://img.coopathome.ch/produkte/300_300/RGB/3697506_001.jpg=1455455159500" height = "250" width = "300" class="border_color" />
<style>
.border_color{border-color: 1px solid red;}
</style>
0
Nice one