xxxxxxxxxx
/*
Add this css to your stylesheet
*/
.grayscale{
filter: grayscale(100%);
}
/*
Then use the class ".grayscale" to your <img> element <img class="grayscale">
*/
xxxxxxxxxx
/* how to grayscale images in css*/
grayscale(amount);/*varry 0 to 1 or 0% to 100%*/