Difference between revisions of "Team:Valencia UPV/logocolor"
Line 715: | Line 715: | ||
#scrollsect4{} | #scrollsect4{} | ||
+ | |||
+ | .img-grey { | ||
+ | filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); | ||
+ | filter: gray; | ||
+ | -webkit-filter: grayscale(100%); | ||
+ | } | ||
+ | |||
+ | .img-grey:hover { | ||
+ | filter: none; | ||
+ | -webkit-filter: grayscale(0%); | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 11:27, 15 September 2015