Answers for "darken a color css"

CSS
3

hover apply lighter color css

.myElement:hover {
  filter: brightness(150%);
}
Posted by: Guest on July-07-2020
1

css hover darken color

.your-css-class:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  }
Posted by: Guest on September-23-2020

Browse Popular Code Answers by Language