{"id":11580,"date":"2022-07-11T06:13:21","date_gmt":"2022-07-11T06:13:21","guid":{"rendered":"https:\/\/www.webhozz.com\/blog\/?p=11580"},"modified":"2023-05-09T06:59:24","modified_gmt":"2023-05-09T06:59:24","slug":"membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/","title":{"rendered":"Membuat Beragam Efek Pada Scroll dengan CSS3 &#038; JavaScript"},"content":{"rendered":"\n<p>Pada tulisan perdana saya ini saya akan membahas tentang bagaimana membuat efek pada menu scroll yang digunakan untuk website. Menu ini bisa berupa daftar tautan atau tulisan biasa yang mana jika digulir kebawah akan muncul beragam efek didalamnya. Efek ini bisa juga digunakan untuk efek scroll pada halaman website. Untuk lebih jelasnya silahkan ikuti panduan berikut.<\/p>\n\n\n\n<p>Buat sebuah file HTML yang berada didalam tag&nbsp;<code>&lt;body&gt;&lt;\/body&gt;<\/code>&nbsp;:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;ul class=&quot;grow&quot;&gt;\n    &lt;li&gt;Satu&lt;\/li&gt;&lt;li&gt;Dua&lt;\/li&gt;&lt;li&gt;Tiga&lt;\/li&gt;&lt;li&gt;Empat&lt;\/li&gt;&lt;li&gt;Lima&lt;\/li&gt;&lt;li&gt;Enam&lt;\/li&gt;&lt;li&gt;Tujuh&lt;\/li&gt;&lt;li&gt;Delapan&lt;\/li&gt;&lt;li&gt;Sembilan&lt;\/li&gt;&lt;li&gt;Sepuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sebelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duabelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigabelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatbelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limabelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enambelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhbelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanbelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;sembilanbelas&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhsatu&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Duapuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tigapuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Empatpuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Limapuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Enampuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Tujuhpuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Delapanpuluhsembilan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhone&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhdua&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhtiga&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhempat&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhlima&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhenam&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhtujuh&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhdelapan&lt;\/li&gt;&lt;li class=&quot;future&quot;&gt;Sembilanpuluhsembilan&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/pre><\/div>\n\n\n<p>Buat sebuah file CSS :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\nul {position:relative;width:230px;height:480px;margin:0;padding:0;overflow-x:hidden;overflow-y:scroll;list-style:none;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;-o-perspective:400px;perspective:400px}\nul li {position:relative;padding:16px;background:#eee;color:#252525;font-size:18px;z-index:2;-webkit-transform:translateZ(0px);-moz-transform:translateZ(0px);-ms-transform:translateZ(0px);-o-transform:translateZ(0px);transform:translateZ(0px)}\nul li:nth-child(odd) {background:#fff}\n.grow li {-webkit-transition:all 600ms ease;-moz-transition:all 600ms ease;-ms-transition:all 600ms ease;-o-transition:all 600ms ease;transition:all 600ms ease;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}\n.grow li.past {-webkit-transform:scale( 0.01 );-moz-transform:scale( 0.01 );-ms-transform:scale( 0.01 );-o-transform:scale( 0.01 );transform:scale( 0.01 )}\n.grow li.future {-webkit-transform:scale( 0.01 );-moz-transform:scale( 0.01 );-ms-transform:scale( 0.01 );-o-transform:scale( 0.01 );transform:scale( 0.01 )}\n<\/pre><\/div>\n\n\n<p>Tambahkan JavaScript didalamnya :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n\t\n(function(){var h=500;var b=!!(&quot;ontouchstart&quot; in window);var j=&#x5B;];var d=false;function i(){if(d){requestAnimFrame(i);for(var n=0,m=j.length;n&lt;m;n++){j&#x5B;n].update();}}}function l(n,m){if(!n.nodeName||\/^(ul|li)$\/i.test(n.nodeName)===false){return false;}else{if(e(n)){g(n);}}var o=b?new c(n):new k(n);if(m&amp;&amp;m.live){o.syncInterval=setInterval(function(){o.sync.call(o);},h);}o.sync();j.push(o);if(j.length===1){d=true;i();}}function g(n){for(var m=0;m&lt;j.length;m++){var o=j&#x5B;m];if(o.element==n){o.destroy();j.splice(m,1);m--;}}if(j.length===0){d=false;}}function e(o){for(var n=0,m=j.length;n&lt;m;n++){if(j&#x5B;n].element==o){return true;}}return false;}function f(q,r,o){var p,m;if(typeof q===&quot;string&quot;){var n=document.querySelectorAll(q);for(p=0,m=n.length;p&lt;m;p++){r.call(null,n&#x5B;p],o);}}else{if(typeof q===&quot;object&quot;&amp;&amp;typeof q.length===&quot;number&quot;){for(p=0,m=q.length;p&lt;m;p++){r.call(null,q&#x5B;p],o);}}else{if(q.nodeName){r.call(null,q,o);}else{throw&quot;Stroll target was of unexpected type.&quot;;}}}}function a(){return !!document.body.classList;}function k(m){this.element=m;}k.prototype.sync=function(){this.items=Array.prototype.slice.apply(this.element.children);this.listHeight=this.element.offsetHeight;for(var n=0,m=this.items.length;n&lt;m;n++){var o=this.items&#x5B;n];o._offsetHeight=o.offsetHeight;o._offsetTop=o.offsetTop;o._offsetBottom=o._offsetTop+o._offsetHeight;o._state=&quot;&quot;;}this.update(true);};k.prototype.update=function(q){var r=this.element.pageYOffset||this.element.scrollTop,p=r+this.listHeight;if(r!==this.lastTop||q){this.lastTop=r;for(var n=0,m=this.items.length;n&lt;m;n++){var o=this.items&#x5B;n];if(o._offsetBottom&lt;r){if(o._state!==&quot;past&quot;){o._state=&quot;past&quot;;o.classList.add(&quot;past&quot;);o.classList.remove(&quot;future&quot;);}}else{if(o._offsetTop&gt;p){if(o._state!==&quot;future&quot;){o._state=&quot;future&quot;;o.classList.add(&quot;future&quot;);o.classList.remove(&quot;past&quot;);}}else{if(o._state){if(o._state===&quot;past&quot;){o.classList.remove(&quot;past&quot;);}if(o._state===&quot;future&quot;){o.classList.remove(&quot;future&quot;);}o._state=&quot;&quot;;}}}}}};k.prototype.destroy=function(){clearInterval(this.syncInterval);for(var n=0,m=this.items.length;n&lt;m;n++){var o=this.items&#x5B;n];o.classList.remove(&quot;past&quot;);o.classList.remove(&quot;future&quot;);}};function c(m){this.element=m;this.element.style.overflow=&quot;hidden&quot;;this.top={value:0,natural:0};this.touch={value:0,offset:0,start:0,previous:0,lastMove:Date.now(),accellerateTimeout:-1,isAccellerating:false,isActive:false};this.velocity=0;}c.prototype=new k();c.prototype.sync=function(){this.items=Array.prototype.slice.apply(this.element.children);this.listHeight=this.element.offsetHeight;var o;for(var n=0,m=this.items.length;n&lt;m;n++){o=this.items&#x5B;n];o._offsetHeight=o.offsetHeight;o._offsetTop=o.offsetTop;o._offsetBottom=o._offsetTop+o._offsetHeight;o._state=&quot;&quot;;o.style.opacity=1;}this.top.natural=this.element.scrollTop;this.top.value=this.top.natural;this.top.max=o._offsetBottom-this.listHeight;this.update(true);this.bind();};c.prototype.bind=function(){var m=this;this.touchStartDelegate=function(n){m.onTouchStart(n);};this.touchMoveDelegate=function(n){m.onTouchMove(n);};this.touchEndDelegate=function(n){m.onTouchEnd(n);};this.element.addEventListener(&quot;touchstart&quot;,this.touchStartDelegate,false);this.element.addEventListener(&quot;touchmove&quot;,this.touchMoveDelegate,false);this.element.addEventListener(&quot;touchend&quot;,this.touchEndDelegate,false);};c.prototype.onTouchStart=function(n){n.preventDefault();if(n.touches.length===1){this.touch.isActive=true;this.touch.start=n.touches&#x5B;0].clientY;this.touch.previous=this.touch.start;this.touch.value=this.touch.start;this.touch.offset=0;if(this.velocity){this.touch.isAccellerating=true;var m=this;this.touch.accellerateTimeout=setTimeout(function(){m.touch.isAccellerating=false;m.velocity=0;},500);}else{this.velocity=0;}}};c.prototype.onTouchMove=function(n){if(n.touches.length===1){var m=this.touch.value;this.touch.value=n.touches&#x5B;0].clientY;this.touch.lastMove=Date.now();var o=(this.touch.value&gt;this.touch.previous&amp;&amp;this.velocity&lt;0)||(this.touch.value&lt;this.touch.previous&amp;&amp;this.velocity&gt;0);if(this.touch.isAccellerating&amp;&amp;o){clearInterval(this.touch.accellerateTimeout);this.velocity+=(this.touch.previous-this.touch.value)\/10;}else{this.velocity=0;this.touch.isAccellerating=false;this.touch.offset=Math.round(this.touch.start-this.touch.value);}this.touch.previous=m;}};c.prototype.onTouchEnd=function(n){var m=this.touch.start-this.touch.value;if(!this.touch.isAccellerating){this.velocity=(this.touch.start-this.touch.value)\/10;}if(Date.now()-this.touch.lastMove&gt;200||Math.abs(this.touch.previous-this.touch.value)&lt;5){this.velocity=0;}this.top.value+=this.touch.offset;this.touch.offset=0;this.touch.start=0;this.touch.value=0;this.touch.isActive=false;this.touch.isAccellerating=false;clearInterval(this.touch.accellerateTimeout);if(Math.abs(this.velocity)&gt;4||Math.abs(m)&gt;10){n.preventDefault();}};c.prototype.update=function(q){var r=this.top.value+this.velocity+this.touch.offset;if(this.velocity||this.touch.offset){this.element.scrollTop=r;r=Math.max(0,Math.min(this.element.scrollTop,this.top.max));this.top.value=r-this.touch.offset;}if(!this.touch.isActive||this.touch.isAccellerating){this.velocity*=0.95;}if(Math.abs(this.velocity)&lt;0.15){this.velocity=0;}if(r!==this.top.natural||q){this.top.natural=r;this.top.value=r-this.touch.offset;var p=r+this.listHeight;for(var n=0,m=this.items.length;n&lt;m;n++){var o=this.items&#x5B;n];if(o._offsetBottom&lt;r){if(this.velocity&lt;=0&amp;&amp;o._state!==&quot;past&quot;){o.classList.add(&quot;past&quot;);o._state=&quot;past&quot;;}}else{if(o._offsetTop&gt;p){if(this.velocity&gt;=0&amp;&amp;o._state!==&quot;future&quot;){o.classList.add(&quot;future&quot;);o._state=&quot;future&quot;;}}else{if(o._state){if(o._state===&quot;past&quot;){o.classList.remove(&quot;past&quot;);}if(o._state===&quot;future&quot;){o.classList.remove(&quot;future&quot;);}o._state=&quot;&quot;;}}}}}};c.prototype.destroy=function(){k.prototype.destroy.apply(this);this.element.removeEventListener(&quot;touchstart&quot;,this.touchStartDelegate,false);this.element.removeEventListener(&quot;touchmove&quot;,this.touchMoveDelegate,false);this.element.removeEventListener(&quot;touchend&quot;,this.touchEndDelegate,false);};window.stroll={bind:function(n,m){if(a()){f(n,l,m);}},unbind:function(m){if(a()){f(m,g);}}};window.requestAnimFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(m,1000\/60);};})();})();stroll.bind( &#039;ul&#039; );\n<\/pre><\/div>\n\n\n<p>Ada 12 macam gaya scroll yang sudah saya siapkan, untuk demo dan source code bisa lihat disini :&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/codepen.io\/offibnusina\/pen\/dPeOKo\" target=\"_blank\">http:\/\/codepen.io\/offibnusina\/pen\/dPeOKo<\/a>. Selamat berkarya dengan CSS3 &amp; JavaScript!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pada tulisan perdana saya ini saya akan membahas tentang bagaimana membuat efek pada menu scroll yang digunakan untuk website. Menu ini bisa berupa daftar tautan<\/p>\n","protected":false},"author":1,"featured_media":11445,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-11580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-belajar-web-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Membuat Beragam Efek Pada Scroll dengan CSS3 &amp; JavaScript - WebHozz Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Membuat Beragam Efek Pada Scroll dengan CSS3 &amp; JavaScript - WebHozz Blog\" \/>\n<meta property=\"og:description\" content=\"Pada tulisan perdana saya ini saya akan membahas tentang bagaimana membuat efek pada menu scroll yang digunakan untuk website. Menu ini bisa berupa daftar tautan\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-11T06:13:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-09T06:59:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/06\/JavaScript_1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/person\\\/d5f539ad171dc74baaf6a98dfef6fcef\"},\"headline\":\"Membuat Beragam Efek Pada Scroll dengan CSS3 &#038; JavaScript\",\"datePublished\":\"2022-07-11T06:13:21+00:00\",\"dateModified\":\"2023-05-09T06:59:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/\"},\"wordCount\":110,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/JavaScript_1.jpg\",\"articleSection\":[\"Belajar Web Design\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/\",\"name\":\"Membuat Beragam Efek Pada Scroll dengan CSS3 & JavaScript - WebHozz Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/JavaScript_1.jpg\",\"datePublished\":\"2022-07-11T06:13:21+00:00\",\"dateModified\":\"2023-05-09T06:59:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/JavaScript_1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/JavaScript_1.jpg\",\"width\":\"750\",\"height\":\"400\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Membuat Beragam Efek Pada Scroll dengan CSS3 &#038; JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\",\"name\":\"WebHozz Blog\",\"description\":\"Kursus Web &amp; Android di Jakarta Bandung\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\",\"name\":\"WebHozz\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo-persegi.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo-persegi.jpg\",\"width\":442,\"height\":442,\"caption\":\"WebHozz\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/person\\\/d5f539ad171dc74baaf6a98dfef6fcef\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Membuat Beragam Efek Pada Scroll dengan CSS3 & JavaScript - WebHozz Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/","og_locale":"en_US","og_type":"article","og_title":"Membuat Beragam Efek Pada Scroll dengan CSS3 & JavaScript - WebHozz Blog","og_description":"Pada tulisan perdana saya ini saya akan membahas tentang bagaimana membuat efek pada menu scroll yang digunakan untuk website. Menu ini bisa berupa daftar tautan","og_url":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/","og_site_name":"WebHozz Blog","article_published_time":"2022-07-11T06:13:21+00:00","article_modified_time":"2023-05-09T06:59:24+00:00","og_image":[{"width":750,"height":400,"url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/06\/JavaScript_1.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/person\/d5f539ad171dc74baaf6a98dfef6fcef"},"headline":"Membuat Beragam Efek Pada Scroll dengan CSS3 &#038; JavaScript","datePublished":"2022-07-11T06:13:21+00:00","dateModified":"2023-05-09T06:59:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/"},"wordCount":110,"publisher":{"@id":"https:\/\/www.webhozz.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/06\/JavaScript_1.jpg","articleSection":["Belajar Web Design"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/","url":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/","name":"Membuat Beragam Efek Pada Scroll dengan CSS3 & JavaScript - WebHozz Blog","isPartOf":{"@id":"https:\/\/www.webhozz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#primaryimage"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/06\/JavaScript_1.jpg","datePublished":"2022-07-11T06:13:21+00:00","dateModified":"2023-05-09T06:59:24+00:00","breadcrumb":{"@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#primaryimage","url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/06\/JavaScript_1.jpg","contentUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/06\/JavaScript_1.jpg","width":"750","height":"400"},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/blog\/membuat-beragam-efek-pada-scroll-dengan-css3-javascript-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Membuat Beragam Efek Pada Scroll dengan CSS3 &#038; JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/www.webhozz.com\/blog\/#website","url":"https:\/\/www.webhozz.com\/blog\/","name":"WebHozz Blog","description":"Kursus Web &amp; Android di Jakarta Bandung","publisher":{"@id":"https:\/\/www.webhozz.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhozz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhozz.com\/blog\/#organization","name":"WebHozz","url":"https:\/\/www.webhozz.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2018\/04\/logo-persegi.jpg","contentUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2018\/04\/logo-persegi.jpg","width":442,"height":442,"caption":"WebHozz"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/person\/d5f539ad171dc74baaf6a98dfef6fcef","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.webhozz.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/11580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/comments?post=11580"}],"version-history":[{"count":2,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/11580\/revisions"}],"predecessor-version":[{"id":12522,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/11580\/revisions\/12522"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/media\/11445"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/media?parent=11580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/categories?post=11580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/tags?post=11580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}