Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css make image gray

img {
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
  filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}

/* Disable grayscale on hover */
img:hover {
  -webkit-filter: grayscale(0);
  filter: none;
}
Comment

PREVIOUS NEXT
Code Example
Css :: not disabled css 
Css :: css remove bullet point from ul 
Css :: css gradient border 
Css :: css scrollbar vertical only 
Css :: responsive image in css 
Css :: css brightness 
Css :: html make footer stick to bottom 
Css :: textview center text 
Css :: move to right css 
Css :: mat card title center 
Css :: instagram gradient css 
Css :: css image sharpen 
Css :: css flip svg 
Css :: get postfix version 
Css :: css avoid line break in span 
Css :: edge media query 
Css :: iframe no scroll 
Css :: disable scroll css 
Css :: css breakpoints 
Css :: make images same size css 
Css :: css div side rounded 
Css :: how to align divs in a row 
Css :: media queries on mobile 
Css :: sticky footer bootstrap 3 
Css :: tablet screen size css 
Css :: the other div inline-block is in bottom 
Css :: css select every other element 
Css :: change height of range slider html 
Css :: css change color 
Css :: move element to the left css 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =