@Abd-ur-Rahman03829Submitted over 3 years ago
I can't understand how to change the color of image in css... Any suggestion about this would help me a lot... Thanks in Advance
I can't understand how to change the color of image in css... Any suggestion about this would help me a lot... Thanks in Advance
To change de color of an image you can use linear-gradient. Use a div with the class of img
CSS
.img { background-image: linear-gradient( to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 133, 0.8) ), url(./design/desktop-design-theme-1.jpg); // THE URL OF THE IMAGE
height: 100vh;
}
That's all.