{"id":293,"date":"2016-09-13T18:55:02","date_gmt":"2016-09-13T18:55:02","guid":{"rendered":"https:\/\/wiki.samuelchopard.ch\/?p=293"},"modified":"2019-03-18T14:29:25","modified_gmt":"2019-03-18T13:29:25","slug":"fade-effect-on-hover-for-images","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/fade-effect-on-hover-for-images\/","title":{"rendered":"Fade effect on hover for images"},"content":{"rendered":"<p><!--more--><\/p>\n<pre class=\"EnlighterJSRAW\">img {\n     opacity: 0.3;\n     transition: opacity 1s ease-in-out;\n     -moz-transition: opacity 1s ease-in-out;\n     -webkit-transition: opacity 1s ease-in-out;\n}\n\nimg:hover {\n     opacity: 1.0;\n     transition: opacity .55s ease-in-out;\n     -moz-transition: opacity .55s ease-in-out;\n     -webkit-transition: opacity .55s ease-in-out;\n}<\/pre>\n<p>You can also use this function with <a target=\"_blank\" href=\"https:\/\/samuelchopard.ch\/wiki\/2016\/09\/13\/fade-grayscale-hover-effect-on-images-grayscale-to-colored\/\" target=\"_blank\" rel=\"noopener noreferrer\">Fade Grayscale Hover Effect on Images (Grayscale to Colored)<\/a>.<\/p>\n<p>Source: <a target=\"_blank\" href=\"http:\/\/stackoverflow.com\/questions\/11375724\/fade-in-fade-out-on-image-hover-using-css3\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/stackoverflow.com\/questions\/11375724\/fade-in-fade-out-on-image-hover-using-css3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"img { opacity: 0.3; transition: opacity 1s ease-in-out; -moz-transition: opacity 1s ease-in-out; -webkit-transition: opacity 1s ease-in-out; } img:hover { opacity: [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[94,106,131,137,139,199],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-htmlcss","tag-effect","tag-fade","tag-hover","tag-images","tag-in","tag-out"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=293"}],"version-history":[{"count":1,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":54908,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/293\/revisions\/54908"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}