How to make so when you hover over the object he had become a color?

0 like 0 dislike
5 views
Tell me how to do (ideally) is similar to these options. With the tip of it gets highlighted.
To go to the site it was immediately clear payment methods.
spoiler
5ae8db8e3408b102253461.png5ae8db936f941557432174.png5ae8db97e858a471407024.png
by | 5 views

1 Answer

0 like 0 dislike
Insert into footer.php a list with images.
\r1 way\r2 way\r3 way\r

In style file, write:
.pay-1{ background: url(img/some1.jpg); background-size: contain; } .pay-2{by analogy with the first} .pay-3{similar to the first} .footer-pay{ list-style:none; display:inline-block; float:left; .footer-pay li{ -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); transition-duration:0.3 s; } .footer-pay li:hover{ -webkit-filter: grayscale(0%); -moz-filter: grayscale(0%); -ms-filter: grayscale(0%); -o-filter: grayscale(0%); filter: grayscale(0%); }
by
110,608 questions
257,186 answers
0 comments
33,932 users