{"id":3776,"date":"2018-07-07T13:00:39","date_gmt":"2018-07-07T13:00:39","guid":{"rendered":"http:\/\/webartdevelopers.com\/?p=3776"},"modified":"2019-10-26T06:20:44","modified_gmt":"2019-10-26T06:20:44","slug":"animate-header-inout-after-scrolling","status":"publish","type":"post","link":"https:\/\/webartdevelopers.com\/blog\/animate-header-inout-after-scrolling\/","title":{"rendered":"ANIMATE HEADER IN\/OUT AFTER SCROLLING"},"content":{"rendered":"<p>This is a simple and beautiful Fixed header created Using jquery-waypoints, well be checking to see when <code>data-animate-header<\/code>\u00a0(this section) is above the top of screen, then animate\u00a0<code>data-animate-header<\/code>\u00a0(the fixed header) in\/out accordingly. We\u2019re able to do this with css transitions and a combo of 3 classes (<code>.header-past<\/code>,\u00a0<code>.header-show<\/code>,\u00a0<code>.header-hide<\/code>) &#8211; without having to clone or do any dom manipulating.<br \/>\nMade by antwon<br \/>\nJune 16, 2015<\/p>\n<a href=\"https:\/\/codepen.io\/antwon\/share\/zip\/VYxZaZ\" 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<a href=\"https:\/\/codepen.io\/antwon\/pen\/VYxZaZ\" 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":"This is a simple and beautiful Fixed header created Using jquery-waypoints, well be checking to see when data-animate-header\u00a0(this section) is above the top of screen, then animate\u00a0data-animate-header\u00a0(the fixed header) in\/out accordingly. We\u2019re able to do this with css transitions and a combo of 3 classes (.header-past,\u00a0.header-show,\u00a0.header-hide) &#8211; without having to clone or do any dom manipulating. Made by antwon June 16, 2015<!-- AddThis Advanced Settings generic via filter on get_the_excerpt -->","protected":false},"author":1,"featured_media":3113,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[259],"tags":[656,650],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/3776"}],"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=3776"}],"version-history":[{"count":2,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/3776\/revisions"}],"predecessor-version":[{"id":18535,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/3776\/revisions\/18535"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media\/3113"}],"wp:attachment":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media?parent=3776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/categories?post=3776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/tags?post=3776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}