Answers for "image color white css"

CSS
2

css image to white

filter: brightness(0) invert(1);
Posted by: Guest on September-28-2021
1

make img black and white css

.imageClass {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
Posted by: Guest on October-16-2021
-1

how to make white image black in css

.yourImage{
    -webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%);
}
Posted by: Guest on September-29-2021
0

how to add color to a image css

.box-2:before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(125, 2, 150, 0.5);
      transition: background .3s linear;
}

    .box-2 {
      position: relative;
      float: left;
      cursor: pointer;
}
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language