{"id":18431,"date":"2019-10-22T06:57:00","date_gmt":"2019-10-22T06:57:00","guid":{"rendered":"https:\/\/webartdevelopers.com\/blog\/?p=18431"},"modified":"2019-10-22T06:58:32","modified_gmt":"2019-10-22T06:58:32","slug":"spread-fx","status":"publish","type":"post","link":"https:\/\/webartdevelopers.com\/blog\/spread-fx\/","title":{"rendered":"SPREAD FX"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\"><em>Author:<\/em><\/span><\/strong><\/h4>\n\n\n\n<ul><li>ycw<\/li><li>June 3, 2018<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\"><em>Made with:<\/em><\/span><\/strong><\/h4>\n\n\n\n<ul><li>HTML \/ CSS<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\"><em>About the code:<\/em><\/span><\/strong><\/h4>\n\n\n\n<p>This is an amazing and simple image transition effect. Suppose there are two hidden planes that are going to be shown 1 by 1 when the shared container is hovered. E.g.<br>On hover, flips A (0.7s motion) then B (0.3s motion);<br>On mouseout, transit backward<br>We can do that by specifying\u00a0<code>transition-delay<\/code>\u00a0on two states:<br><code>\/*hover state*\/<br>A:hover { transition-delay:0 }\/* A first *\/<br>B:hover { transition-delay:0.7s }\/* 0.7s for A mo duration *\/<br>\/*normal state (=mouseout state) *\/<br>A { transition-delay:0.3s }\/* 0.3s for B mo duration *\/<br>B { transition-delay:0s }\/* B first *\/<\/code><\/p>\n\n\n\n<p><strong><em>Compatible browsers:<\/em><\/strong> Chrome, Edge, Firefox, Opera, Safari<\/p>\n\n\n\n<p><strong><em>Responsive:<\/em><\/strong> Yes<\/p>\n\n\n\n<p><strong><em>Dependencies:<\/em><\/strong> &#8211;<\/p>\n\n\n<a href=\"https:\/\/codepen.io\/ycw\/share\/zip\/pKgRoW\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Download<\/span><\/a>\n\n\n<a href=\"https:\/\/codepen.io\/ycw\/pen\/pKgRoW\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Demo and Code<\/span><\/a>\n<!-- AddThis Advanced Settings generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"Author: ycw June 3, 2018 Made with: HTML \/ CSS About the code: This is an amazing and simple image transition effect. Suppose there are two hidden planes that are going to be shown 1 by 1 when the shared container is hovered. E.g.On hover, flips A (0.7s motion) then B (0.3s motion);On mouseout, transit backwardWe can do that by specifying\u00a0transition-delay\u00a0on two states:\/*hover state*\/A:hover { transition-delay:0 }\/* A first *\/B:hover { transition-delay:0.7s }\/* 0.7s for A mo duration *\/\/*normal state (=mouseout state) *\/A { transition-delay:0.3s }\/* 0.3s for B mo duration *\/B { transition-delay:0s }\/* B first *\/ Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: Yes Dependencies: &#8211;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt -->","protected":false},"author":1,"featured_media":18432,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[254],"tags":[20,476,3861,24,579,5404],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/18431"}],"collection":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/comments?post=18431"}],"version-history":[{"count":1,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/18431\/revisions"}],"predecessor-version":[{"id":18433,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/18431\/revisions\/18433"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media\/18432"}],"wp:attachment":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media?parent=18431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/categories?post=18431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/tags?post=18431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}