I have a webpage with the whole page in style
<div class="w3-sand w3-grayscale w3-large">
How can I make the image xxx showing original color instead of w3-grayscale?
<img src="xxx">
I have a webpage with the whole page in style
<div class="w3-sand w3-grayscale w3-large">
How can I make the image xxx showing original color instead of w3-grayscale?
<img src="xxx">
I think you are a beginner:
W3Schools have their own stylesheet, Let me explain you are the style here in the classes of w3-sand,w3-large,w3-greyscale
.w3-sand, .w3-hover-sand:hover {
color: #000!important;
background-color: #fdf5e6!important;
}
.w3-large {
font-size: 18px!important;
}
.w3-greyscale, .w3-grayscale {
filter: grayscale(75%); /* this is the line of code applying the filter */
}
so these are the style of the specific classes mentioned there...
To remove the image from the greyscalse
you can use remove it from the parent or you can remove the greyscalse
style from the parent div
. As it is the one who is applying the effect on the child element. So just break down your code or remove the style from the parent element.