image darker css code example
Example 1: darken image css
.container img {
filter: brightness(50%);
}
Example 2: make image darker in css
#myimage {
filter: brightness(50%);
}
.container img {
filter: brightness(50%);
}
#myimage {
filter: brightness(50%);
}