{"id":719,"date":"2017-02-28T11:30:40","date_gmt":"2017-02-28T11:30:40","guid":{"rendered":"http:\/\/blog.azoora.com\/?p=719"},"modified":"2017-09-12T08:04:24","modified_gmt":"2017-09-12T08:04:24","slug":"stretchy-navigation-in-css-and-jquery","status":"publish","type":"post","link":"https:\/\/azoora.com\/blog\/javascript\/stretchy-navigation-in-css-and-jquery\/","title":{"rendered":"Stretchy Navigation in CSS and jQuery"},"content":{"rendered":"<p>Would you like a\u00a0<a href=\"https:\/\/codyhouse.co\/gem\/stretchy-navigation\/\" target=\"_blank\" rel=\"noopener\">Stretchy Navigation<\/a>\u00a0in CSS and jQuery? It\u2019s a rounded navigation trigger that stretches on click\/tap to reveal the navigation items. There are 3 different user cases where this snippet would be useful: 1) fixed navigation, 2) add content button and 3) edit content button. The HTML structure is pretty basic: a div is used to wrap an unordered list (containing the navigation items) and an trigger (for the menu icon). An additional span element is used to create the stretchy background.<\/p>\n<blockquote><p>Requirements: \u2013<br \/>\nDemo:\u00a0<a title=\"demo\" href=\"https:\/\/codyhouse.co\/demo\/stretchy-navigation\/index.html\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/codyhouse.co\/demo\/stretchy-navigation\/index.html<\/a><br \/>\nLicense: License Free<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Would you like a\u00a0Stretchy Navigation\u00a0in CSS and jQuery? It\u2019s a rounded navigation trigger that stretches on click\/tap to reveal the navigation items. There are 3 different user cases where this snippet would be useful: 1) fixed navigation, 2) add content button and 3) edit content button. The HTML structure is pretty basic: a div is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[12],"tags":[37,16],"jetpack_featured_media_url":"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2017\/08\/menu-726x451.jpg","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7FQPL-bB","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/719"}],"collection":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/comments?post=719"}],"version-history":[{"count":1,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/719\/revisions"}],"predecessor-version":[{"id":720,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/719\/revisions\/720"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media\/721"}],"wp:attachment":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media?parent=719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/categories?post=719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/tags?post=719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}