Blame | Last modification | View Log
<!DOCTYPE html><!--[if lte IE 9]><html class="ie" lang="en"><![endif]--><!--[if gt IE 9]><!--><html lang="en"><!--<![endif]--><head><meta charset="UTF-8"><title>Animated search input</title><link rel="dns-prefetch" href="https://fast.appcues.com"><link rel="dns-prefetch" href="https://fonts.googleapis.com"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@CodePen"><meta name="twitter:title" content="Animated search input"><meta name="twitter:description" content="Animated (focus/transition only) search input that looks like a icon..."><meta name="twitter:image" content="https://assets.codepen.io/508593/internal/screenshots/pens/JvqGjj.default.png?fit=cover&format=auto&ha=false&height=540&quality=75&v=2&version=1532976764&width=960"><meta property="og:image" content="https://assets.codepen.io/508593/internal/screenshots/pens/JvqGjj.default.png?fit=cover&format=auto&ha=false&height=540&quality=75&v=2&version=1532976764&width=960" itemprop="thumbnailUrl"><meta property="og:title" content="Animated search input"><meta property="og:url" content="https://codepen.io/lhenrique/details/JvqGjj"><meta property="og:site_name" content="CodePen"><meta property="og:description" content="Animated (focus/transition only) search input that looks like a icon..."><link rel="alternate" type="application/json+oembed" href="https://codepen.io/api/oembed?url=https%3A%2F%2Fcodepen.io%2Flhenrique%2Fpen%2FJvqGjj&format=json" title="Animated search input" /><link rel="stylesheet" media="all" href="https://cpwebassets.codepen.io/assets/global/global-8ae8a7ec5fc13e0bbdbe4da3ba272cebf4e7ae20cf7f651e7ee8707b1cae0703.css" /><link rel="stylesheet" media="screen" href="https://cpwebassets.codepen.io/assets/packs/css/everypage-409d3c6c.css" /><link rel="stylesheet" media="all" href="https://cpwebassets.codepen.io/assets/editor/editor-e1b279e5ddb29baefedff1ac77d54ad61b4932da6b52f29b60efdcce96b2a8ad.css" /><meta name="description" content="Animated (focus/transition only) search input that looks like a icon..."><link rel="stylesheet" media="screen" href="https://cpwebassets.codepen.io/assets/editor/themes/twilight-a5a757de70a8d57373f9bc7c87208806adaa2b69d0f2c3e9fcce79a6f9babd65.css" id="cm-theme" /><style id="cm-font-family" class="cm-font-family" nonce="L7D5elhrvKI=">.CodeMirror,.console-logs .console-line,.console-command-line-input,.console-message,.CodeMirror-hint {font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo,monospace;}</style><style id="cm-font-size" nonce="L7D5elhrvKI=">.CodeMirror,.console-logs .console-line,.console-command-line-input,.console-message,.CodeMirror-hint {font-size: 14px;}</style><link rel="apple-touch-icon" type="image/png" href="https://cpwebassets.codepen.io/assets/favicon/apple-touch-icon-5ae1a0698dcc2402e9712f7d01ed509a57814f994c660df9f7a952f3060705ee.png" /><meta name="apple-mobile-web-app-title" content="CodePen"><link rel="shortcut icon" type="image/x-icon" href="https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico" /><link rel="mask-icon" type="" href="https://cpwebassets.codepen.io/assets/favicon/logo-pin-8f3771b1072e3c38bd662872f6b673a722f4b3ca2421637d5596661b4e2132cc.svg" color="#111" /><meta name="csrf-param" content="authenticity_token" /><meta name="csrf-token" content="PzARHhIp6lK7AhRH+YQRPOvrja7m4qQrorQNa1XX6KxNns+d7UGeGpVeA0CRGzzN6bFMRM4aV6TQ5IK/TSkRyQ==" /><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="monetization" content="$ilp.uphold.com/biyqg2MkQKbe"><script nonce="L7D5elhrvKI=">/* Firefox needs this to prevent FOUT */</script></head><body class="room-editor editor state-htmlOn-cssOn-jsOn twilight sidebar-false preload prelayoutlayout-toplogged-out "><header class="main-header" id="main-header"></header><div class="item-settings-modal tab-layout tab-layout-modal pen item-settings-modal-half" id="item-settings-modal"><header class="item-settings-modal-header tab-layout-header"><h2 class="item-settings-modal-header-title tab-layout-header-title">Pen Settings</h2><div class="save-and-close-wrap"><button type="button" class="button mini-button button-no-right-margin close" id="top-close-settings"><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg></button></div></header><div class="tabs tab-layout-wrapper settings-tabs-wrapper"><nav id="settings-tabs" class="no-mobile-nav tab-layout-tabs item-settings-tabs notranslate" translate="no"><div class="tab-layout-tab-group"><a id="settings-html-tab" href="#settings-html" class="settings-tab-html" data-type="html">HTML</a><a id="settings-css-tab" href="#settings-css" class="settings-tab-css" data-type="css">CSS</a><a id="settings-js-tab" href="#settings-js" class="settings-tab-js" data-type="js">JS</a></div><div class="tab-layout-tab-group"><a id="settings-behavior-tab" href="#settings-behavior" class="settings-tab-behavior" data-type="behavior">Behavior</a><a id="settings-editor-tab" href="#settings-editor" class="settings-tab-editor" data-type="editor">Editor</a></div></nav><div class="settings tab-page" id="settings-html"><h3 aria-label="HTML">HTML</h3><div class="settings-row top-label-form normal-labels item-settings-row-odd"><h4><label for="html-preprocessor">HTML Preprocessor</label></h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About HTML Preprocessors</h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.</p><p><a href="https://blog.codepen.io/documentation/editor/using-html-preprocessors/" target="_blank" rel="noopener">Learn more</a> · <a href="/versions/" target="_blank" rel="noopener">Versions</a></p></div></div><div class="custom-select-wrap"><select name="html-preprocessor" id="html-preprocessor" class="fullwidth"><option value="none">None</option><option value="haml">Haml</option><option value="markdown">Markdown</option><option value="slim">Slim</option><option value="pug">Pug</option></select><div class="select-icon"><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></div></div></div><div class="settings-row top-label-form normal-labels item-settings-row-even"><h4><label for="html-classes">Add Class(es) to <html></label></h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>Adding Classes</h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>In CodePen, whatever you write in the HTML editor is what goes within the <code><body></code> tags in <a target="_blank" rel="noopener" href="https://blog.codepen.io/documentation/features/preview-template/">a basic HTML5 template</a>. So you don't have access to higher-up elements like the <code><html></code> tag. If you want to add classes there that can affect the whole document, this is the place to do it.</p></div></div><input type="text" id="html-classes" name="html-classes" class="fullwidth" placeholder="e.g. single post post-1234" maxlength="250"></div><div class="settings-row top-label-form normal-labels item-settings-row-odd"><h4><label for="head-content">Stuff for <head></label></h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About the <head></h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>In CodePen, whatever you write in the HTML editor is what goes within the <code><body></code> tags in <a target="_blank" rel="noopener" href="https://blog.codepen.io/documentation/features/preview-template/">a basic HTML5 template</a>. If you need things in the <code><head></code> of the document, put that code here.</p></div></div><div class="head-content-wrapper"><textarea id="head-content" name="head-content" class="fullwidth is-code head-content notranslate" translate="no" placeholder="e.g. <meta>, <link>, <script>"></textarea><span class="insecure-resource-tooltip"><div class="help-flyout-link"><span class="icon-help">!</span><div class="help-flyout help-flyout-reverse"><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><h5>Insecure Resource</h5><p>The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.</p></div></div></span></div><button class="button mini-button button-medium" id="meta-tag-insert">↑ Insert the most common viewport meta tag</button></div></div><div class="settings tab-page" id="settings-css"><h3 aria-label="CSS">CSS</h3><div class="settings-row top-label-form normal-labels item-settings-row-odd"><h4><label for="css-preprocessor">CSS Preprocessor</label></h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About CSS Preprocessors</h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.</p><p><a href="https://blog.codepen.io/documentation/editor/using-css-preprocessors/" target="_blank">Learn more</a> · <a href="/versions/" target="_blank">Versions</a></p></div></div><div class="custom-select-wrap"><select name="css-preprocessor" id="css-preprocessor" class="fullwidth css-preprocessor"><option value="none">None</option><option value="less">Less</option><option value="scss">SCSS</option><option value="sass">Sass</option><option value="stylus">Stylus</option><option value="postcss">PostCSS</option></select><div class="select-icon"><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></div></div><div id="need-an-addon" class="align-right hide"><a id="css-need-an-addon-button" href="#0" class="button button-medium mini-button need-an-addon-button">Need an add-on?</a></div><div class="add-ons add-ons-scss hide" id="add-ons"></div></div><div id="startercss-options-form" class="settings-row top-label-form item-settings-row-even"><h4>CSS Base</h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About CSS Base</h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: <a href="https://necolas.github.io/normalize.css/" target="_blank" rel="noopener">normalize.css</a> and a <a href="http://meyerweb.com/eric/tools/css/reset/" target="_blank" rel="noopener">reset</a>. Or, choose <b>Neither</b> and nothing will be applied.</p></div></div><ul class="radio-list"><li><input type="radio" id="startercss-normalize" name="startercss" checked value="normalize"><label for="startercss-normalize" class="small-inline">Normalize</label></li><li><input type="radio" id="startercss-reset" name="startercss" checked value="reset"><label for="startercss-reset" class="small-inline">Reset</label></li><li><input type="radio" id="startercss-neither" name="startercss" checked value="neither"><label for="startercss-neither" class="small-inline">Neither</label></li></ul></div><div id="prefix-options-form" class="settings-row top-label-form item-settings-row-odd"><h4>Vendor Prefixing</h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About Vendor Prefixing</h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance <code>-webkit-</code> or <code>-moz-</code>.</p><p>We offer two popular choices: <a href="https://github.com/postcss/autoprefixer" target="blank" rel="noopener">Autoprefixer</a> (which processes your CSS server-side) and <a href="https://leaverou.github.io/prefixfree/" target="_blank" rel="noopener">-prefix-free</a> (which applies prefixes via a script, client-side).</p></div></div><ul class="radio-list"><li><input type="radio" id="prefix-autoprefixer" name="prefix" value="autoprefixer"><label for="prefix-autoprefixer" class="small-inline">Autoprefixer</label></li><li><input type="radio" id="prefix-prefixfree" name="prefix" value="prefixfree"><label for="prefix-prefixfree" class="small-inline">Prefixfree</label></li><li><input type="radio" id="prefix-neither" name="prefix" value="neither"><label for="prefix-neither" class="small-inline">Neither</label></li></ul></div><div id="external-css-resources" class="settings-row item-settings-row-even"><h4>Add External Stylesheets/Pens</h4><p>Any URL's added here will be added as <code><link></code>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.</p><div class="resource-search-bar"><svg class="icon icon-mag" viewBox="0 0 56.7 56.7"><path d="M42.8,7.3C33-2.4,17.1-2.4,7.3,7.3c-9.8,9.8-9.8,25.7,0,35.5c8.7,8.7,22.2,9.7,32,2.9l9.6,9.6c1.8,1.8,4.7,1.8,6.4,0c1.8-1.8,1.8-4.7,0-6.4l-9.6-9.6C52.5,29.5,51.5,16,42.8,7.3z M36.6,36.6c-6.4,6.4-16.7,6.4-23.1,0s-6.4-16.7,0-23.1c6.4-6.4,16.7-6.4,23.1,0C43,19.9,43,30.3,36.6,36.6z" /></svg><input id="external-css-search" type="text" value="" placeholder="Search for resources (Bootstrap, Foundation, Animate.css...)"></div><div class="algolia-shoutout"><a href="https://www.algolia.com/?utm_source=react-instantsearch&utm_medium=website&utm_content=codepen.io&utm_campaign=poweredby" target="_blank">Powered by <img alt="Algolia" src="https://cpwebassets.codepen.io/assets/settings/algolia-9e1c0c887f4db420704b2a79926864019ef156bcecc9d5774a7e4eaa731fc5b5.svg" /></a></div><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About External Resources</h5><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.</p><p>If the stylesheet you link to has the file extension of a preprocessor, we'll attempt to process it before applying.</p><p>You can also link to another Pen here, and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.</p><p><a href="https://blog.codepen.io/documentation/editor/adding-external-resources/" target="_blank" rel="noopener">Learn more</a></p></div></div><div id="css-external-resources" class="external-resource-wrapper"></div><script id="css-external-resources-template" nonce="L7D5elhrvKI=" type="text/template"><div data-view-id="<%= view_id %>" class="external-resource-url-row <%= insecure_resource %>"><span class="move-external-url"><svg viewBox="0 0 17 20" class="icon-drag-handle" width="20" height="17"><path d="m1.5 3a1.5 1.5 0 0 1 0-3h17a1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 0 1 0-3h17a1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 0 1 0-3h17a1.5 1.5 0 0 1 0 3z"/></svg></span><inputid="external-resource-input-<%= view_id %>"class="fullwidth css-resource external-resource"type="text"pattern="^((ftp|http|https):)?\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$"name="external-css"placeholder="<%= placeholder %>"value="<%= url %>"data-view-id="<%= view_id %>"><span class="insecure-resource-tooltip"><div class="help-flyout-link"><span class="icon-help">!</span><div class="help-flyout help-flyout-reverse"><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z"/></svg><h5>Insecure Resource</h5><p>You are linking to a resource using the non-secure http:// protocol, which may not work when the browser is using https:// like CodePen enforces.</p></div></div></span><div class="resource-actions"><span class="remove-external-url external-url-option" data-view-id="<%= view_id %>"><svg class="icon-x" viewBox="0 0 100 100" width="12" height="12"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z"/></svg></span><a id="external-resource-input-view-link-<%= view_id %>" class="open-external-url external-url-option" target="_blank" rel="noopener" data-view-id="<%= view_id %>" href="<%= url %>"><svg viewBox="0 0 30.5 16.5" id="icon-eye" width="14" height="14"><path d="M15.3,0C8.9,0,3.3,3.3,0,8.3c3.3,5,8.9,8.3,15.3,8.3c6.4,0,12-3.3,15.3-8.3C27.3,3.3,21.7,0,15.3,0z M15.3,14.5 c-3.4,0-6.2-2.8-6.2-6.2C9,4.8,11.8,2,15.3,2c3.4,0,6.2,2.8,6.2,6.2C21.5,11.7,18.7,14.5,15.3,14.5z"/></svg></a></div></div></script><div class="external-resource-actions group"><span id="add-css-resource" class="button mini-button button-medium add-resource" data-type="css"><span data-type="css">+ add another resource</span></span></div></div></div><div class="settings tab-page" id="settings-js"><div class="item-settings-javascript normal-labels"><h3>JavaScript</h3><div class="item-settings-javascript-preprocessor item-settings-row-odd settings-row"><h4><label for="js-preprocessor">JavaScript Preprocessor</label></h4><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100" width="14" height="14"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About JavaScript Preprocessors</h5><svg class="icon-x" viewBox="0 0 100 100" width="12" height="12"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>JavaScript preprocessors can help make authoring JavaScript easier and more convenient.</p><p><a href="https://blog.codepen.io/documentation/editor/using-js-preprocessors/" target="_blank" rel="noopener">Learn more</a> · <a href="/versions/" target="_blank">Versions</a></p></div></div><div class="custom-select-wrap"><select name="js-preprocessor" id="js-preprocessor" class="fullwidth"><option value="none">None</option><option value="babel">Babel</option><option value="typescript">TypeScript</option><option value="coffeescript">CoffeeScript</option><option value="livescript">LiveScript</option></select><div class="select-icon"><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></div></div><p><small>Babel includes JSX processing.</small></p></div><div id="external-js-resources" class="item-settings-javascript-external settings-row external-js-resources top-label-form item-settings-row-even"><h4>Add External Scripts/Pens</h4><p>Any URL's added here will be added as <code><script></code>s in order, and run <em>before</em> the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.</p><div class="resource-search-bar"><svg viewBox="0 0 56.7 56.7" class="icon icon-mag" width="18" height="18"><path d="M42.8,7.3C33-2.4,17.1-2.4,7.3,7.3c-9.8,9.8-9.8,25.7,0,35.5c8.7,8.7,22.2,9.7,32,2.9l9.6,9.6c1.8,1.8,4.7,1.8,6.4,0c1.8-1.8,1.8-4.7,0-6.4l-9.6-9.6C52.5,29.5,51.5,16,42.8,7.3z M36.6,36.6c-6.4,6.4-16.7,6.4-23.1,0s-6.4-16.7,0-23.1c6.4-6.4,16.7-6.4,23.1,0C43,19.9,43,30.3,36.6,36.6z" /></svg><input id="external-js-search" type="text" value="" placeholder="Search CDNjs (jQuery, Lodash, React, Angular, Vue.js, Ember...)"></div><div class="algolia-shoutout"><a href="https://www.algolia.com/?utm_source=react-instantsearch&utm_medium=website&utm_content=codepen.io&utm_campaign=poweredby" target="_blank">Powered by <img alt="Algolia" src="https://cpwebassets.codepen.io/assets/settings/algolia-9e1c0c887f4db420704b2a79926864019ef156bcecc9d5774a7e4eaa731fc5b5.svg" /></a></div><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100" width="14" height="14"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About External Resources</h5><svg class="icon-x" viewBox="0 0 100 100" height="12" width="12"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.</p><p>If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.</p><p>You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.</p><p><a href="https://blog.codepen.io/documentation/adding-external-resources/" rel="noopener" target="_blank">Learn more</a></p></div></div><div id="js-external-resources" class="external-resource-wrapper"></div><script id="js-external-resources-template" nonce="L7D5elhrvKI=" type="text/template"><div data-view-id="<%= view_id %>" class="external-resource-url-row <%= insecure_resource %>"><span class="move-external-url"><svg viewBox="0 0 17 20" class="icon-drag-handle" width="20" height="17"><path d="m1.5 3a1.5 1.5 0 0 1 0-3h17a1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 0 1 0-3h17a1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 0 1 0-3h17a1.5 1.5 0 0 1 0 3z"/></svg></span><inputid="external-resource-input-<%= view_id %>"class="fullwidth js-resource external-resource"type="text"pattern="^((ftp|http|https):)?\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$"name="external-js"placeholder="<%= placeholder %>"value="<%= url %>"data-view-id="<%= view_id %>"><span class="insecure-resource-tooltip"><div class="help-flyout-link"><span class="icon-help">!</span><div class="help-flyout help-flyout-reverse"><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z"/></svg><h5>Insecure Resource</h5><p>You are linking to a resource using the non-secure http:// protocol, which may not work when the browser is using https:// like CodePen enforces.</p></div></div></span><div class="resource-actions"><span class="remove-external-url external-url-option" data-view-id="<%= view_id %>"><svg class="icon-x" viewBox="0 0 100 100" width="12" height="12"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z"/></svg></span><a id="external-resource-input-view-link-<%= view_id %>" class="open-external-url external-url-option" target="_blank" rel="noopener" data-view-id="<%= view_id %>" href="<%= url %>"><svg viewBox="0 0 30.5 16.5" id="icon-eye" width="14" height="14"><path d="M15.3,0C8.9,0,3.3,3.3,0,8.3c3.3,5,8.9,8.3,15.3,8.3c6.4,0,12-3.3,15.3-8.3C27.3,3.3,21.7,0,15.3,0z M15.3,14.5 c-3.4,0-6.2-2.8-6.2-6.2C9,4.8,11.8,2,15.3,2c3.4,0,6.2,2.8,6.2,6.2C21.5,11.7,18.7,14.5,15.3,14.5z"/></svg></a></div></div></script><div class="external-resource-actions group"><span id="add-js-resource" class="button button-medium mini-button add-resource" data-type="js"><span data-type="js">+ add another resource</span></span></div></div><h3 aria-label="Packages">Packages</h3><div class="item-settings-packages settings-row item-settings-row-odd" id="item-settings-packages"><h4>Add Packages</h4><p>Search for and use JavaScript packages from <a href="https://www.npmjs.com/" target="blank" rel="noopener">npm</a> here. By selecting a package, an <code>import</code> statement will be added to the top of the JavaScript editor for this package.</p><div class="resource-search-bar"><svg viewBox="0 0 56.7 56.7" class="icon icon-mag" width="18" height="18"><path d="M42.8,7.3C33-2.4,17.1-2.4,7.3,7.3c-9.8,9.8-9.8,25.7,0,35.5c8.7,8.7,22.2,9.7,32,2.9l9.6,9.6c1.8,1.8,4.7,1.8,6.4,0c1.8-1.8,1.8-4.7,0-6.4l-9.6-9.6C52.5,29.5,51.5,16,42.8,7.3z M36.6,36.6c-6.4,6.4-16.7,6.4-23.1,0s-6.4-16.7,0-23.1c6.4-6.4,16.7-6.4,23.1,0C43,19.9,43,30.3,36.6,36.6z" /></svg><input id="packages-search" type="text" value="" placeholder="Search npm and add a package..."></div><div class="algolia-shoutout"><a href="https://www.algolia.com/?utm_source=react-instantsearch&utm_medium=website&utm_content=codepen.io&utm_campaign=poweredby" target="_blank">Powered by <img alt="Algolia" src="https://cpwebassets.codepen.io/assets/settings/algolia-9e1c0c887f4db420704b2a79926864019ef156bcecc9d5774a7e4eaa731fc5b5.svg" /></a></div><div class="help-flyout-link"><svg class="icon-help" viewBox="0 0 100 100" width="14" height="14"><path d="M75,0H25C11.19,0,0,11.193,0,25v50c0,13.802,11.19,25,25,25h50c13.811,0,25-11.198,25-25V25C100,11.193,88.811,0,75,0zM57.203,85.067H41.504V72.542h15.699V85.067L57.203,85.067z M73.357,42.041c-0.84,2.066-1.873,3.834-3.102,5.298c-1.235,1.474-2.604,2.718-4.101,3.751c-1.498,1.035-2.922,2.066-4.249,3.101c-1.333,1.034-1.553,2.214-2.596,3.547c-1.025,1.335-0.977,3.004-0.977,5.006v3.924H41.668v-4.623c0-2.864,1.366-5.265,2.27-7.202c0.896-1.935,2.255-3.581,3.459-4.947c1.196-1.367,2.62-2.556,3.955-3.557c1.327-0.993,2.637-1.993,3.776-2.995c1.123-1.001,2.083-2.1,2.783-3.304c0.7-1.197,1.043-2.694,0.977-4.5c0-3.06-0.74-5.33-2.245-6.795c-1.498-1.465-3.582-2.206-6.25-2.206c-1.8,0-3.337,0.351-4.639,1.05c-1.303,0.7-2.369,1.635-3.199,2.808c-0.837,1.163-1.448,3.593-1.847,5.156c-0.407,1.57-0.602,6.115-0.602,6.115H25.399c0.073-8.333,0.684-7.963,1.855-10.965c1.164-2.995,2.8-6.132,4.899-8.33c2.099-2.197,4.63-4.179,7.601-5.417c2.962-1.228,6.283-1.977,9.945-1.977c4.736,0,8.683,0.581,11.856,1.876c3.167,1.302,5.713,2.889,7.65,4.817c1.929,1.937,3.312,4.004,4.149,6.234c0.831,2.237,1.245,4.313,1.245,6.242C74.601,37.354,74.187,39.975,73.357,42.041z" /></svg><div class="help-flyout help-flyout-reverse"><h5>About Packages</h5><svg class="icon-x" viewBox="0 0 100 100" width="12" height="12"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg><p>Using packages here is powered by <a href="https://www.skypack.dev/">Skypack</a>, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 <code>import</code> usage.</p><p>All packages are different, so refer to their docs for how they work.</p><p>If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.</p></div></div></div></div></div><div class="settings tab-page" id="settings-behavior"><h3 aria-label="Pen Behavior">Behavior</h3><div class="settings-row item-settings-row-odd"><h4>Save Automatically?</h4><div><p class="hint">If active, Pens will autosave every 30 seconds after being saved once.</p><div class="ios-toggle-mega-label-wrap"><span class="ios-toggle ios-toggle-reverse"><input type="checkbox" id="auto-save" name="auto-save" checked><label for="auto-save"></label><label for="auto-save" class="ios-toggle-mega-label"></label></span></div></div></div><div class="settings-row item-settings-row-even"><h4>Auto-Updating Preview</h4><p class="hint">If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.</p><div class="ios-toggle-mega-label-wrap"><span class="ios-toggle ios-toggle-reverse"><input type="checkbox" id="auto-run" name="auto-run" checked><label for="auto-run"></label><label for="auto-run" class="ios-toggle-mega-label"></label></span></div></div><div class="settings-row item-settings-row-odd"><h4>Format on Save</h4><p class="hint">If enabled, your code will be formatted when you actively save your Pen. <strong><span class="inline-note">Note:</span> your code becomes un-folded during formatting.</strong></p><div class="ios-toggle-mega-label-wrap"><span class="ios-toggle ios-toggle-reverse"><input type="checkbox" id="format_on_save" name="format_on_save"><label for="format_on_save"></label><label for="format_on_save" class="ios-toggle-mega-label"></label></span></div></div></div><div class="settings tab-page" id="settings-editor"><h3 aria-label="Editor Settings">Editor Settings</h3><div id="editor-settings-form" class="settings-row item-settings-row-odd top-label-form"><h4>Code Indentation</h4><ul class="radio-list"><li><input type="radio" id="indent-with-spaces" name="indent-with" value="spaces" checked><label for="indent-with-spaces" class="small-inline">Spaces</label></li><li><input type="radio" id="indent-with-tabs" name="indent-with" value="tabs"><label for="indent-with-tabs" class="small-inline">Tabs</label></li></ul></div><div class="settings-row item-settings-row-even top-label-form normal-labels"><h4><label for="tab-size">Code Indent width</label></h4><div class="custom-select-wrap"><select id="tab-size" class="fullwidth" name="tab-size"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option></select><div class="select-icon"><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></div></div></div><div class="settings-row item-settings-row-odd"><h4>Want to change your Syntax Highlighting theme, Fonts and more?</h4><p>Visit <a href="/settings/editor" target="_blank">your global Editor Settings</a>.</p></div></div></div><footer><div class="save-and-close-wrap"><input type="button" class="button button-small green button-no-right-margin close" value="Close" id="close-settings"></div></footer></div><div class="page-wrap"><div class="boxes"><div class="mobile-editor-nav"><button id="html-toggle" class="selected"><span>HTML</span></button><button id="css-toggle"><span>CSS</span></button><button id="js-toggle"><span>JS</span></button><button id="result-toggle" class="selected"><span>Result</span></button></div><div class="top-boxes editor-parent" data-number-of-editors="3" elementtiming="pen-editors"><div class="editor-resizer html-editor-resizer" title="Double-click to expand."></div><div id="box-html" class="box box-html" data-type="html"><div class="powers"><div class="powers-drag-handle" title="Double-click to expand."></div><div class="editor-actions-left"><button id="settings-pane-html" class="button button-medium mini-button settings-nub" data-type="html" title="Open HTML Settings"><svg viewBox="0 0 100 100" id="icon-gear" width="10" height="10"><path d="M87.687,45.077c-0.313-2.433-0.816-4.807-1.542-7.079l8.145-11.73l-5.827-7.515l-0.094-0.123l-5.824-7.514l-12.955,5.577c-2.041-1.265-4.192-2.362-6.459-3.219L59.42,0h-9.34h-0.153h-9.341l-3.709,13.474c-2.27,0.857-4.421,1.955-6.463,3.222l-12.957-5.577l-5.825,7.514l-0.097,0.124l-5.822,7.517l8.146,11.731c-0.726,2.271-1.233,4.645-1.544,7.079L0,52.032l2.08,9.375l0.033,0.15l2.08,9.375l14.001,0.761c1.295,2.028,2.771,3.926,4.4,5.668l-2.396,14.227l8.416,4.173l0.138,0.067L37.169,100l9.309-10.796c1.161,0.109,2.335,0.173,3.524,0.173s2.358-0.074,3.52-0.184l9.317,10.804l8.415-4.173l0.141-0.066l8.413-4.172l-2.396-14.228c1.628-1.741,3.104-3.64,4.4-5.672l14-0.759l2.078-9.375l0.035-0.154L100,52.025L87.687,45.077z M50.003,34.51c8.435,0,15.272,7.035,15.272,15.719c0,8.679-6.839,15.717-15.272,15.717c-8.436,0-15.272-7.038-15.272-15.717C34.731,41.545,41.569,34.51,50.003,34.51z" /></svg></button><h2 class="box-title html-editor-title" id="html-editor-title"><span class="box-title-name">HTML</span><span class="box-title-preprocessor-name "></span></h2></div><div class="editor-actions-right"><div class="collaborators-indicators"></div><button class="button mini-button button-medium editor-dropdown-button editor-dropdown-button-html" data-dropdown="#editor-dropdown-html" aria-haspopup="true" aria-expanded="false"><span class="visually-hidden">HTML Options</span><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini" width="10" height="10"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></button><ul id="editor-dropdown-html" class="link-list is-dropdown editor-dropdown editor-dropdown-html" data-dropdown-position="css" data-dropdown-type="html"><li class="editor-dropdown-list-item"><button id="tidy-html" class="invisible-button tidy-code-button" data-editor-type="html">Format HTML</button></li><li class="editor-dropdown-list-item"><button id="view-compiled-html" class="invisible-button view-compiled-button" data-editor-type="html">View Compiled HTML</button></li><li class="editor-dropdown-list-item"><button id="analyze-html" class="invisible-button analyze-button" data-editor-type="html">Analyze HTML</button></li><li class="editor-dropdown-list-item"><button id="maximize-html-editor" class="invisible-button maximize-button" data-editor-type="html">Maximize HTML Editor</button></li><li class="editor-dropdown-list-item"><button id="minimize-html-editor" class="invisible-button minimize-button" data-editor-type="html">Minimize HTML Editor</button></li><li class="editor-dropdown-list-item"><button id="fold-all-html" class="invisible-button fold-all-button" data-editor-type="html">Fold All</button></li><li class="editor-dropdown-list-item"><button id="unfold-all-html" class="invisible-button unfold-all-button" data-editor-type="html">Unfold All</button></li></ul></div></div><div class="code-wrap notranslate" translate="no"><pre id="html" class="code-box" aria-labeledby="html-editor-title"><code>.wrapper.input-groupinput.search(type="text" placeholder="Searching for something?")span.bar.disclaimera(href="https://lhenrique.com.br/" target="_blank") 💙</code></pre><div class="error-bar" id="error-bar-html"><span class="error-icon" data-type="html">!</span></div></div></div><div class="editor-resizer css-editor-resizer" title="Double-click to expand."></div><div id="box-css" class="box box-css" data-type="css"><div class="powers"><div class="powers-drag-handle" title="Double-click to expand."></div><div class="editor-actions-left"><button id="settings-pane-css" class="button button-medium mini-button settings-nub" data-type="css" title="Open CSS Settings"><svg viewBox="0 0 100 100" id="icon-gear" width="10" height="10"><path d="M87.687,45.077c-0.313-2.433-0.816-4.807-1.542-7.079l8.145-11.73l-5.827-7.515l-0.094-0.123l-5.824-7.514l-12.955,5.577c-2.041-1.265-4.192-2.362-6.459-3.219L59.42,0h-9.34h-0.153h-9.341l-3.709,13.474c-2.27,0.857-4.421,1.955-6.463,3.222l-12.957-5.577l-5.825,7.514l-0.097,0.124l-5.822,7.517l8.146,11.731c-0.726,2.271-1.233,4.645-1.544,7.079L0,52.032l2.08,9.375l0.033,0.15l2.08,9.375l14.001,0.761c1.295,2.028,2.771,3.926,4.4,5.668l-2.396,14.227l8.416,4.173l0.138,0.067L37.169,100l9.309-10.796c1.161,0.109,2.335,0.173,3.524,0.173s2.358-0.074,3.52-0.184l9.317,10.804l8.415-4.173l0.141-0.066l8.413-4.172l-2.396-14.228c1.628-1.741,3.104-3.64,4.4-5.672l14-0.759l2.078-9.375l0.035-0.154L100,52.025L87.687,45.077z M50.003,34.51c8.435,0,15.272,7.035,15.272,15.719c0,8.679-6.839,15.717-15.272,15.717c-8.436,0-15.272-7.038-15.272-15.717C34.731,41.545,41.569,34.51,50.003,34.51z" /></svg></button><h2 class="box-title css-editor-title" id="css-editor-title"><span class="box-title-name">CSS</span><span class="box-title-preprocessor-name "></span></h2></div><div class="editor-actions-right"><div class="collaborators-indicators"></div><button class="button mini-button button-medium editor-dropdown-button editor-dropdown-button-css" data-dropdown="#editor-dropdown-css" aria-haspopup="true" aria-expanded="false"><span class="visually-hidden">CSS Options</span><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini" width="10" height="10"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></button><ul id="editor-dropdown-css" class="link-list is-dropdown editor-dropdown editor-dropdown-css" data-dropdown-position="css" data-dropdown-type="css"><li class="editor-dropdown-list-item"><button id="tidy-css" class="invisible-button tidy-code-button" data-editor-type="css">Format CSS</button></li><li class="editor-dropdown-list-item"><button id="view-compiled-css" class="invisible-button view-compiled-button" data-editor-type="css">View Compiled CSS</button></li><li class="editor-dropdown-list-item"><button id="analyze-css" class="invisible-button analyze-button" data-editor-type="css">Analyze CSS</button></li><li class="editor-dropdown-list-item"><button id="maximize-css-editor" class="invisible-button maximize-button" data-editor-type="css">Maximize CSS Editor</button></li><li class="editor-dropdown-list-item"><button id="minimize-css-editor" class="invisible-button minimize-button" data-editor-type="css">Minimize CSS Editor</button></li><li class="editor-dropdown-list-item"><button id="fold-all-css" class="invisible-button fold-all-button" data-editor-type="css">Fold All</button></li><li class="editor-dropdown-list-item"><button id="unfold-all-css" class="invisible-button unfold-all-button" data-editor-type="css">Unfold All</button></li></ul></div></div><div class="code-wrap notranslate" translate="no"><pre id="css" class="code-box" aria-labeledby="css-editor-title"><code>// Variables$black: #000$white: #fff$blue: #26547c$green: #06d6a0$light-gray: #a1a1a1// Mixins=size($h, $w)height: $hwidth: $w=flex-centerdisplay: flexalign-items: centerjustify-content: center=gradient($deg, $fc, $sc)background: linear-gradient($deg, $fc 0%, $sc 100%)// Style.wrapper+gradient(45deg, $blue, $green)+size(100vh, 100vw)+flex-centeroverflow: hidden.disclaimerbottom: 15pxposition: absolute.input-groupposition: relative.search+size(15px, 15px)background-color: $whiteborder: 0border-radius: 50%box-shadow: 0 2px 2px 0 rgba(0,0,0,0.15)cursor: pointercolor: $whiteoutline: nonepadding: 5pxposition: relativetransition: all 150ms cubic-bezier(0.2, 0.6, 0.252, 1.2)~ .bar+size(4px, 15px)background: $whiteborder-radius: 4pxbox-shadow: 0 2px 2px 0 rgba(0,0,0,0.15)position: absolutedisplay: blockopacity: 1right: -9pxtop: 24pxtransform: rotate(45deg)transition: opacity 150ms ease&::placeholdercolor: $white&:focus+size(25px, 200px)border-radius: 3pxcolor: $bluecursor: initial&::placeholdercolor: $light-gray~ .barbox-shadow: noneopacity: 0right: 0top: 5px</code></pre><div class="error-bar" id="error-bar-css"><span class="error-icon" data-type="css">!</span></div></div></div><div class="editor-resizer js-editor-resizer" title="Double-click to expand."></div><div id="box-js" class="box box-js" data-type="js"><div class="powers"><div class="powers-drag-handle" title="Double-click to expand."></div><div class="editor-actions-left"><button id="settings-pane-js" class="button button-medium mini-button settings-nub" data-type="js" title="Open JS Settings"><svg viewBox="0 0 100 100" id="icon-gear" width="10" height="10"><path d="M87.687,45.077c-0.313-2.433-0.816-4.807-1.542-7.079l8.145-11.73l-5.827-7.515l-0.094-0.123l-5.824-7.514l-12.955,5.577c-2.041-1.265-4.192-2.362-6.459-3.219L59.42,0h-9.34h-0.153h-9.341l-3.709,13.474c-2.27,0.857-4.421,1.955-6.463,3.222l-12.957-5.577l-5.825,7.514l-0.097,0.124l-5.822,7.517l8.146,11.731c-0.726,2.271-1.233,4.645-1.544,7.079L0,52.032l2.08,9.375l0.033,0.15l2.08,9.375l14.001,0.761c1.295,2.028,2.771,3.926,4.4,5.668l-2.396,14.227l8.416,4.173l0.138,0.067L37.169,100l9.309-10.796c1.161,0.109,2.335,0.173,3.524,0.173s2.358-0.074,3.52-0.184l9.317,10.804l8.415-4.173l0.141-0.066l8.413-4.172l-2.396-14.228c1.628-1.741,3.104-3.64,4.4-5.672l14-0.759l2.078-9.375l0.035-0.154L100,52.025L87.687,45.077z M50.003,34.51c8.435,0,15.272,7.035,15.272,15.719c0,8.679-6.839,15.717-15.272,15.717c-8.436,0-15.272-7.038-15.272-15.717C34.731,41.545,41.569,34.51,50.003,34.51z" /></svg></button><h2 class="box-title js-editor-title" id="js-editor-title"><span class="box-title-name">JS</span><span class="box-title-preprocessor-name "></span></h2></div><div class="editor-actions-right"><div class="collaborators-indicators"></div><button class="button mini-button button-medium editor-dropdown-button editor-dropdown-button-js" data-dropdown="#editor-dropdown-js" aria-haspopup="true" aria-expanded="false"><span class="visually-hidden">JS Options</span><svg viewBox="-122.9 121.1 105.9 61.9" class="icon-arrow-down-mini" width="10" height="10"><path d="M-63.2,180.3l43.5-43.5c1.7-1.7,2.7-4,2.7-6.5s-1-4.8-2.7-6.5c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.7l-37.2,37.2l-37.2-37.2c-1.7-1.7-4-2.7-6.5-2.7s-4.8,1-6.5,2.6c-1.9,1.8-2.8,4.2-2.8,6.6c0,2.3,0.9,4.6,2.6,6.5l0,0c11.4,11.5,41,41.2,43,43.3l0.2,0.2C-73.5,183.9-66.8,183.9-63.2,180.3z" /></svg></button><ul id="editor-dropdown-js" class="link-list is-dropdown editor-dropdown editor-dropdown-js" data-dropdown-position="css" data-dropdown-type="js"><li class="editor-dropdown-list-item"><button id="tidy-js" class="invisible-button tidy-code-button" data-editor-type="js">Format JavaScript</button></li><li class="editor-dropdown-list-item"><button id="view-compiled-js" class="invisible-button view-compiled-button" data-editor-type="js">View Compiled JavaScript</button></li><li class="editor-dropdown-list-item"><button id="analyze-js" class="invisible-button analyze-button" data-editor-type="js">Analyze JavaScript</button></li><li class="editor-dropdown-list-item"><button id="maximize-js-editor" class="invisible-button maximize-button" data-editor-type="js">Maximize JavaScript Editor</button></li><li class="editor-dropdown-list-item"><button id="minimize-js-editor" class="invisible-button minimize-button" data-editor-type="js">Minimize JavaScript Editor</button></li><li class="editor-dropdown-list-item"><button id="fold-all-js" class="invisible-button fold-all-button" data-editor-type="js">Fold All</button></li><li class="editor-dropdown-list-item"><button id="unfold-all-js" class="invisible-button unfold-all-button" data-editor-type="js">Unfold All</button></li></ul></div></div><div class="code-wrap notranslate" translate="no"><pre id="js" class="code-box" aria-labeledby="js-editor-title"><code></code></pre><div class="error-bar" id="error-bar-js"><span class="error-icon" data-type="js">!</span></div></div><div class="react-pen-editor-imports" data-props-type="js"></div></div></div><div id="resizer" class="resizer"><span></span><div id="width-readout" class="width-readout">999px</div></div><section id="drawer" class="drawer comments"></section><div class="output-container"><div class="output-sizer"><div id="result_div" class="result"><iframe id="result" name="CodePen" title="CodePen Preview" src="https://cdpn.io/lhenrique/fullpage/JvqGjj" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation" allow="camera; geolocation; microphone" scrolling="auto" allowTransparency="true" allowpaymentrequest="true" allowfullscreen="true" class="result-iframe " loading="lazy"></iframe><div id="editor-drag-cover" class="drag-cover"></div></div><div id="box-console" class="box box-console notranslate" translate="no"><div class="editor-resizer editor-resizer-console" title="Drag to resize. Double-click to expand."></div><div class="powers"><div class="powers-drag-handle" title="Drag to resize. Double-click to expand."></div><div class="editor-actions-left"><h2 class="box-title"><span class="box-title-name">Console</span></h2></div><div class="editor-actions-right"><button class="button button-medium mini-button console-clear-button" title="Clear">Clear</button><button class="button button-medium mini-button close-editor-button" data-type="console" title="Close"><svg class="icon-x" viewBox="0 0 100 100"><path d="M96.8 83.7L63.1 50l33.7-33.7c3.6-3.6 3.6-9.4 0-13.1s-9.5-3.6-13.1 0L50 36.9 16.3 3.2C12.7-.4 6.9-.4 3.2 3.2s-3.6 9.5 0 13.1L36.9 50 3.2 83.7c-3.6 3.6-3.6 9.4 0 13.1s9.5 3.6 13.1 0L50 63.1l33.7 33.7c3.6 3.6 9.4 3.6 13.1 0s3.6-9.5 0-13.1z" /></svg></button></div></div><div class="console-wrap"><div class="console-entries short-no-scroll"></div><div class="console-command-line"><span class="console-arrow forwards"></span><textarea class="console-command-line-input auto-expand" rows="1" data-min-rows="1"></textarea></div></div></div></div></div></div></div><div id="asset-bin-goes-here"></div><footer id="react-pen-footer" class="site-footer editor-footer"></footer><div id="keycommands" class="modal modal-neutral"><div class="keycommands-container"><section class="editor-commands inline-editor-commands"><h2>Editor Commands</h2><div class="key-group"><kbd class="keycommand"><span class="key pc_only">Ctrl</span><span class="key mac_only">Ctrl</span><span class="key">Space</span></kbd>Autocomplete</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">F</span></kbd>Find</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">G</span></kbd>Find Next</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">G</span></kbd>Find Previous</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only" title="Shift">⇧</span><span class="key mac_only">Opt</span><span class="key">F</span></kbd>Find & Replace</div><div class="key-group mac_only"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">F</span></kbd>Format Code</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">[</span></kbd>Indent Code Right</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">]</span></kbd>Indent Code Left</div><div class="key-group"><kbd class="keycommand"><span class="key" title="Shift">⇧</span><span class="key">Tab</span></kbd>Auto Indent Code</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">/</span></kbd>Line Comment</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only" title="Shift">⇧</span><span class="key mac_only">Opt</span><span class="key">/</span></kbd>Block Comment</div><p class="inline-tab-triggers">Also see: <a href="https://blog.codepen.io/documentation/features/tab-triggers/" target="_blank" rel="noopener">Tab Triggers</a></p></section><section class="editor-commands"><h2>Editor Focus</h2><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only">Alt</span><span class="key mac_only">Opt</span><span class="key">1</span></kbd>HTML Editor</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only">Alt</span><span class="key mac_only">Opt</span><span class="key">2</span></kbd>CSS Editor</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only">Alt</span><span class="key mac_only">Opt</span><span class="key">3</span></kbd>JS Editor</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only">Alt</span><span class="key mac_only">Opt</span><span class="key">4</span></kbd>Toggle Console</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key pc_only">Alt</span><span class="key mac_only">Opt</span><span class="key">0</span></kbd>Preview</div><div class="key-group"><kbd class="keycommand"><span class="key">Esc</span></kbd>Exit currently focused editor</div></section><section class="editor-commands"><h2>Misc</h2><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">7</span></kbd>Re-run Preview</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">8</span></kbd>Clear All Analyze Errors</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">9</span></kbd>Open This Dialog</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">0</span></kbd>Open Debug View</div><h2>HTML Specific</h2><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">A</span></kbd>Wrap With...</div><h2>Pen Actions</h2><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">P</span></kbd>Create New Pen</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">S</span></kbd>Save</div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key" title="Shift">⇧</span><span class="key">S</span></kbd>Save As Private <span style="border-radius: 2px; padding: 1px 6px 2px 5px; color: black; background: var(--yellow); white-space: nowrap; text-shadow: none; letter-spacing: 0; font-size: 71%; position: relative; top: -1px;">PRO</span></div><div class="key-group"><kbd class="keycommand"><span class="key -command"></span><span class="key">I</span></kbd>Info Panel (if owned)</div></section></div></div><div id="popup-overlay" class="overlay popup-overlay"></div><div id="modal-overlay" class="overlay modal-overlay"></div><noscript><input type="checkbox" class="modal-closing-trick" id="modal-closing-trick"><div class="overlay noscript-overlay" style="display: block;"></div><div class="modal modal-message group modal-warning"><div class="modal-title">CodePen requires JavaScript to render the code and preview areas in this view.</div><p>Trying <a href="https://codepen.io/lhenrique/debug/JvqGjj">viewing this Pen in Debug Mode</a>, which is the preview area without any iframe and does not require JavaScript. Although what the preview is of might!</p><p>Need to know how to enable JavaScript? <a href="http://enable-javascript.com/" target="_blank" rel="noopener">Go here.</a></p><label class="button button-medium" for="modal-closing-trick">Close this, use anyway.</label></div></noscript><textarea id="init-data" style="display:none">{"__browser":{"device":"unknown_device","mobile":false,"name":"firefox","platform":"linux","version":"78"},"__constants":{"gridIframeSandboxAttributes":"allow-forms allow-modals allow-pointer-lock allow-presentation allow-same-origin allow-scripts"},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"camera; geolocation; microphone","iframe_sandbox":"allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation"},"__user":{"anon":true,"base_url":"/anon/","current_team_id":0,"current_team_hashid":null,"hashid":"VoDkNZ","id":1,"itemType":"user","name":"Captain Anonymous","paid":false,"tier":0,"username":"anon","created_at":null,"email_verified":null,"collections_count":0,"collections_private_count":0,"followers_count":0,"followings_count":0,"pens_count":0,"pens_private_count":0,"projects_count":0,"projects_private_count":0},"__firebase":{"config":{"apiKey":"AIzaSyBgLAe7N_MdFpuVofMkcQLGwwhUu5tuxls","authDomain":"codepen-store-production.firebaseapp.com","databaseURL":"https://codepen-store-production.firebaseio.com","disabled":false,"projectId":"codepen-store-production"},"token":"eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImNsYWltcyI6eyJvd25lcklkIjoiVm9Ea05aIiwiYWRtaW4iOmZhbHNlfSwiZXhwIjoxNjI3NjQxMzk4LCJpYXQiOjE2Mjc2Mzc3OTgsImlzcyI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IlZvRGtOWiJ9.37s4VSJECbcCVLiJq8CWiDx7ps-Mxh0PMSQ-XUeRFifXUK-tlqEVwUwmQHYa62ARELdvDzTrlpz7ssthIUXGwLRUeHU-XzbNJcAKYDkoBjiW9qJa5zf24XVGSiJlGHbMDkgr6t3oGFFA78NLFzQvznRCyDi7_VLO9wYYhtUQby182XB8Iwt-uDDYfN7jeL3P9HSb-67N7zxIKi1-iQMhDHUhzoYXA6nw9NbsfH_Xp73uUwwNGsgQQrFRlGBbdTVbOu_RAJgktcoLrSt1WQeh5qcQqSkjzszPZ7QCH1o2ky2Vsmy9oJT20pQgwdMbP0IzG0G0ZBttxCZm0lkDTAyT4w"},"__graphql":{"data":{"sessionUser":{"id":"VoDkNZ","name":"Captain Anonymous","avatar80":"https://gravatar.com/avatar/b15e0cf27861794b6faa31065e8f9950?d=https%3A%2F%2Fassets.codepen.io%2Finternal%2Favatars%2Fusers%2Fdefault.png&fit=crop&format=auto&height=80&version=0&width=80","avatar512":"https://gravatar.com/avatar/b15e0cf27861794b6faa31065e8f9950?d=https%3A%2F%2Fassets.codepen.io%2Finternal%2Favatars%2Fusers%2Fdefault.png&fit=crop&format=auto&height=512&version=0&width=512","currentContext":{"id":"VoDkNZ","baseUrl":"/anon","title":"Captain Anonymous","name":"Captain Anonymous","avatar80":"https://gravatar.com/avatar/b15e0cf27861794b6faa31065e8f9950?d=https%3A%2F%2Fassets.codepen.io%2Finternal%2Favatars%2Fusers%2Fdefault.png&fit=crop&format=auto&height=80&version=0&width=80","avatar512":"https://gravatar.com/avatar/b15e0cf27861794b6faa31065e8f9950?d=https%3A%2F%2Fassets.codepen.io%2Finternal%2Favatars%2Fusers%2Fdefault.png&fit=crop&format=auto&height=512&version=0&width=512","username":"anon","contextType":"USER","projectLimitations":{"id":"VoDkNZ","projects":0,"usedProjects":0,"__typename":"ProjectLimitations"},"privateByDefault":false,"__typename":"User"},"currentTeamId":null,"baseUrl":"/anon","username":"anon","admin":false,"anon":true,"pro":false,"verified":null,"teams":[],"permissions":{"id":"1","canCreatePrivate":false,"canUploadAssets":false,"__typename":"UserPermissions"},"__typename":"User"}}},"__pay_stripe_public":"pk_NgCjQmQs7wXOFmfNC0LKMgEkmlThn","__pay_braintree_env":"production","__boomboom":{"serve_url":"https://cdpn.io/cp/internal/boomboom","store_url":"https://codepen.io/cp/internal/boomboom/store"},"__editor_config":{"id":"classic","editors":[{"id":"html","type":"html","name":"HTML","showEditor":true,"showSettings":true,"showProcessors":true,"embeds":{"showViewCompiled":true},"settings":[{"id":"processor","name":"HTML Preprocessor","type":"select","visible":true,"values":[{"id":"none","name":"None","value":"none","default":true},{"id":"haml","name":"Haml","value":"haml"},{"id":"markdown","name":"Markdown","value":"markdown"},{"id":"slim","name":"Slim","value":"slim"},{"id":"pug","name":"Pug","value":"pug"}]},{"id":"html_classes","name":"Add Class(es) to <html>","type":"input","placeholder":"e.g. single post post-1234","visible":true},{"id":"head","name":"Stuff for <head>","type":"textarea","placeholder":"e.g. <meta>, <link>, <script>","visible":true}],"actions":[{"id":"tidy_html","type":"tidy_code","name":"Format HTML","disabled_processors":["haml","slim"]},{"id":"view_compiled_html","type":"view_compiled","name":"View Compiled HTML","disabled_processors":["none"],"showInEmbeds":true},{"id":"analyze_html","type":"analyze","name":"Analyze HTML"},{"id":"maximize_html_editor","type":"maximize","name":"Maximize HTML Editor"},{"id":"minimize_html_editor","type":"minimize","name":"Minimize HTML Editor"},{"id":"fold_all_html","type":"fold_all","name":"Fold All"},{"id":"unfold_all_html","type":"unfold_all","name":"Unfold All"}],"processors":[{"id":"none","name":"None"},{"id":"haml","name":"Haml"},{"id":"markdown","name":"Markdown"},{"id":"slim","name":"Slim"},{"id":"pug","name":"Pug"}]},{"id":"css","type":"css","name":"CSS","showEditor":true,"showSettings":true,"showProcessors":true,"showVendorPrefixing":true,"embeds":{"showViewCompiled":true},"actions":[{"id":"tidy_css","type":"tidy_code","name":"Format CSS","disabled_processors":["sass","stylus"]},{"id":"view_compiled_css","type":"view_compiled","name":"View Compiled CSS","disabled_processors":["none"],"disabled_prefixes":["neither","prefixfree"]},{"id":"analyze_css","type":"analyze","name":"Analyze CSS"},{"id":"maximize_css_editor","type":"maximize","name":"Maximize CSS Editor"},{"id":"minimize_css_editor","type":"minimize","name":"Minimize CSS Editor"},{"id":"fold_all_css","type":"fold_all","name":"Fold All","disabled_processors":["sass"]},{"id":"unfold_all_css","type":"unfold_all","name":"Unfold All","disabled_processors":["sass"]}],"processors":[{"id":"none","name":"None"},{"id":"less","name":"Less"},{"id":"scss","name":"SCSS"},{"id":"sass","name":"Sass"},{"id":"stylus","name":"Stylus"},{"id":"postcss","name":"PostCSS"}],"parSuffixes":["less","scss","sass","styl"]},{"id":"js","type":"js","name":"JS","showEditor":true,"showSettings":true,"showProcessors":true,"detectImports":true,"externalResourcesHidden":false,"embeds":{"showViewCompiled":true},"actions":[{"id":"tidy_js","type":"tidy_code","name":"Format JavaScript","disabled_processors":["coffeescript, livescript"]},{"id":"view_compiled_js","type":"view_compiled","name":"View Compiled JavaScript","disabled_processors":["none"]},{"id":"analyze_js","type":"analyze","name":"Analyze JavaScript"},{"id":"maximize_js_editor","type":"maximize","name":"Maximize JavaScript Editor"},{"id":"minimize_js_editor","type":"minimize","name":"Minimize JavaScript Editor"},{"id":"fold_all_js","type":"fold_all","name":"Fold All"},{"id":"unfold_all_js","type":"unfold_all","name":"Unfold All"}],"processors":[{"id":"none","name":"None"},{"id":"babel","name":"Babel"},{"id":"typescript","name":"TypeScript"},{"id":"coffeescript","name":"CoffeeScript"},{"id":"livescript","name":"LiveScript"}]}],"formatters":[{"id":"classic","name":"Classic","runOn":[{"eventType":"demand"}],"url":"https://fi593g2v2a.execute-api.us-west-2.amazonaws.com/production/format"}],"layout":{"default":"top"},"linters":[{"id":"classic","name":"Classic","runOn":[{"eventType":"demand"}],"url":"https://fi593g2v2a.execute-api.us-west-2.amazonaws.com/production/lint"}],"preview":{"intervalMaxWaitMS":3500,"intervalMS":1200},"settings":[{"id":"behavior","name":"Behavior","type":"setting"},{"id":"editor","name":"Editor","type":"setting"}]},"__item":"{\"editor_settings\":{\"auto_run\":true,\"autocomplete\":false,\"code_folding\":true,\"css_pre_processor\":\"none\",\"css_prefix\":\"neither\",\"css_starter\":\"neither\",\"emmet_active\":true,\"font_size\":\"14\",\"font_type\":\"monaco\",\"format_on_save\":false,\"html_pre_processor\":\"none\",\"indent_with\":\"tabs\",\"js_pre_processor\":\"none\",\"key_bindings\":\"normal\",\"line_numbers\":true,\"line_wrapping\":true,\"match_brackets\":true,\"snippets\":{\"markupSnippets\":{},\"stylesheetSnippets\":{}},\"tab_size\":\"3\",\"theme\":\"twilight\",\"id\":\"JvqGjj\",\"auto_save\":true},\"hashid\":\"JvqGjj\",\"itemType\":\"pen\",\"resources\":[{\"url\":\"https://fonts.googleapis.com/css?family=Gaegu\",\"order\":0,\"resource_type\":\"css\",\"par_content\":\"\"}],\"tags\":[],\"id\":24802009,\"user_id\":508593,\"html\":\".wrapper\\n\\t.input-group\\n\\t\\tinput.search(type=\\\"text\\\" placeholder=\\\"Searching for something?\\\")\\n\\t\\tspan.bar\\n\\t\\t\\n\\t.disclaimer\\n\\t\\ta(href=\\\"https://lhenrique.com.br/\\\" target=\\\"_blank\\\") 💙\\n\\t\\t\",\"css\":\"// Variables\\n$black: #000\\n$white: #fff\\n$blue: #26547c\\n$green: #06d6a0\\n$light-gray: #a1a1a1\\n\\n// Mixins\\n=size($h, $w)\\n\\theight: $h\\n\\twidth: $w\\n\\n=flex-center\\n\\tdisplay: flex\\n\\talign-items: center\\n\\tjustify-content: center\\n\\n=gradient($deg, $fc, $sc)\\n\\tbackground: linear-gradient($deg, $fc 0%, $sc 100%)\\n\\n// Style\\n.wrapper\\n\\t+gradient(45deg, $blue, $green)\\n\\t+size(100vh, 100vw)\\n\\t+flex-center\\n\\toverflow: hidden\\n\\n\\t.disclaimer\\n\\t\\tbottom: 15px\\n\\t\\tposition: absolute\\n\\n.input-group\\n\\tposition: relative\\n\\n\\t.search\\n\\t\\t+size(15px, 15px)\\n\\t\\tbackground-color: $white\\n\\t\\tborder: 0\\n\\t\\tborder-radius: 50%\\n\\t\\tbox-shadow: 0 2px 2px 0 rgba(0,0,0,0.15)\\n\\t\\tcursor: pointer\\n\\t\\tcolor: $white\\n\\t\\toutline: none\\n\\t\\tpadding: 5px\\n\\t\\tposition: relative\\n\\t\\ttransition: all 150ms cubic-bezier(0.2, 0.6, 0.252, 1.2)\\n\\n\\t\\t~ .bar\\n\\t\\t\\t+size(4px, 15px)\\n\\t\\t\\tbackground: $white\\n\\t\\t\\tborder-radius: 4px\\n\\t\\t\\tbox-shadow: 0 2px 2px 0 rgba(0,0,0,0.15)\\n\\t\\t\\tposition: absolute\\n\\t\\t\\tdisplay: block\\n\\t\\t\\topacity: 1\\n\\t\\t\\tright: -9px\\n\\t\\t\\ttop: 24px\\n\\t\\t\\ttransform: rotate(45deg)\\n\\t\\t\\ttransition: opacity 150ms ease\\n\\t\\t\\n\\t\\t&::placeholder\\n\\t\\t\\tcolor: $white\\n\\t\\n\\t\\t&:focus\\n\\t\\t\\t+size(25px, 200px)\\n\\t\\t\\tborder-radius: 3px\\n\\t\\t\\tcolor: $blue\\n\\t\\t\\tcursor: initial\\n\\t\\n\\t\\t\\t&::placeholder\\n\\t\\t\\t\\tcolor: $light-gray\\n\\t\\n\\t\\t\\t~ .bar\\n\\t\\t\\t\\tbox-shadow: none\\n\\t\\t\\t\\topacity: 0\\n\\t\\t\\t\\tright: 0\\n\\t\\t\\t\\ttop: 5px\",\"parent\":0,\"js\":\"\",\"html_pre_processor\":\"pug\",\"css_pre_processor\":\"sass\",\"js_pre_processor\":\"babel\",\"html_classes\":\"\",\"css_starter\":\"normalize\",\"css_prefix_free\":null,\"css_external\":null,\"js_library\":null,\"js_modernizr\":null,\"js_external\":null,\"created_at\":\"2018-05-23T20:14:07.000Z\",\"updated_at\":\"2018-07-30T18:52:44.000Z\",\"session_hash\":\"bc1c86301a9b4053dc8cc3932739ec64\",\"title\":\"Animated search input\",\"description\":\"Animated (focus/transition only) search input that looks like a icon\",\"slug_hash\":\"JvqGjj\",\"head\":\"<style>.wrapper * {font-family: 'Gaegu', cursive} a {text-decoration: none;}</style>\",\"private\":false,\"has_animation\":false,\"css_pre_processor_lib\":\"\",\"checksum\":0,\"screenshot_uuid\":\"a89a4aa3-5e37-4fcd-b975-b627428ac514\",\"team_id\":0,\"css_prefix\":\"autoprefixer\",\"template\":false,\"js_module\":false,\"pen_hash\":null}","__jwt":"eyJhbGciOiJIUzI1NiJ9.eyJjbGFpbXMiOnsidXNlcl9pZCI6MX0sImV4cCI6MTYyNzY0MTM5OH0.QKUNZQJvkrvOqvRVh2r8gILmdTQ7boJCfIxOwJCGc34","__layoutType":null,"__pageType":"pen","__pen_export_url":"https://bphy80o6m7.execute-api.us-west-2.amazonaws.com","__profiled":{"base_url":"/lhenrique","hashid":"DWErXB","id":508593,"name":"Lucas Henrique","type":"user","username":"lhenrique"},"__processorsMap":{"autoprefixer":"autoprefixer-10","babel":"babel-7","coffeescript":"coffeescript-2","format-1":"format-1","flutter":"flutter-1","haml":"haml-4","less":"less-3","lint-1":"lint-1","livescript":"livescript-1","markdown":"markdown-11","postcss":"postcss-7","pug":"pug-2","sass":"sass-1","scss":"sass-1","sass-ruby-3":"sass-ruby-3","sass-ruby-compass-3":"sass-ruby-compass-3","slim":"slim-3","stylus":"stylus-0","typescript":"typescript-4","vue":"vue-2","vue3":"vue-3"},"__rtData":"{\"maxMembers\":0,\"roomID\":\"JvqGjj/live\",\"roomType\":\"live\",\"updatedAt\":1532976764,\"user\":{\"id\":\"VoDkNZ\",\"hashid\":\"VoDkNZ\",\"name\":\"Captain Anonymous\",\"username\":\"anon\",\"role\":\"editor\"}}","__eijs":"https://cpwebassets.codepen.io/assets/embed/ei.js","__favicon_mask_icon":"https://cpwebassets.codepen.io/assets/favicon/logo-pin-8f3771b1072e3c38bd662872f6b673a722f4b3ca2421637d5596661b4e2132cc.svg","__favicon_shortcut_icon":"https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico","__path_to_iframe_console_runner":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeConsoleRunner-d8236034cc3508e70b0763f2575a8bb5850f9aea541206ce56704c013047d712.js","__path_to_iframe_refresh_css":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRefreshCSS-4793b73c6332f7f14a9b6bba5d5e62748e9d1bd0b5c52d7af6376f3d1c625d7e.js","__path_to_iframe_runtime_errors":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRuntimeErrors-4f205f2c14e769b448bcf477de2938c681660d5038bc464e3700256713ebe261.js","__path_to_processor_worker":"https://cpwebassets.codepen.io/assets/packs/router.js","__path_to_stop_execution_on_timeout":"https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-8216c69d01441f36c0ea791ae2d4469f0f8ff5326f00ae2d00e4bb7d20e24edb.js","__pen_normalize_css_url":"https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css","__pen_prefix_free_url":"https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js","__pen_reset_css_url":"https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css","__theme_url_twilight":"https://cpwebassets.codepen.io/assets/editor/themes/twilight-a5a757de70a8d57373f9bc7c87208806adaa2b69d0f2c3e9fcce79a6f9babd65.css","__theme_url_solarized_dark":"https://cpwebassets.codepen.io/assets/editor/themes/solarized-dark-686d6c4121445b369fdb9c5a0347bbb1f1f742142e6bc7fa5bc87f31c49dad27.css","__theme_url_tomorrow_night":"https://cpwebassets.codepen.io/assets/editor/themes/tomorrow-night-180bfc84346dd501bd16f7606d0747d2dd6fd37ae22b56176805ddc3b4e18720.css","__theme_url_oceanic_dark":"https://cpwebassets.codepen.io/assets/editor/themes/oceanic-dark-4c1226337ae141517297d345d2871e72dada5d842b162d875f04aad91b9389e8.css","__theme_url_panda":"https://cpwebassets.codepen.io/assets/editor/themes/panda-11b7d8b7eec14932e9ab6b940aa136f5273a51c3985398f0c19752bc97cb290f.css","__theme_url_duotone_dark":"https://cpwebassets.codepen.io/assets/editor/themes/duotone-dark-68ae2a4adef8d72c3b2c64dd45b2b13e9877beec64dab460520ef4f8ba014c64.css","__theme_url_highcontrast_dark":"https://cpwebassets.codepen.io/assets/editor/themes/highcontrast-dark-ebf64e2dd95a914790e5558297a4fdda15d615c4cc27415ac7624e16f66439b2.css","__theme_url_classic":"https://cpwebassets.codepen.io/assets/editor/themes/classic-7cf80a231b532c43bc19cc1b2c2ca8819b3b85c0314a88196745b2ce2ca3eb56.css","__theme_url_solarized_light":"https://cpwebassets.codepen.io/assets/editor/themes/solarized-light-145e7d4751d126eaf9daf00f060ab2d5bdf743992040ec322c518039d18f8e48.css","__theme_url_xq_light":"https://cpwebassets.codepen.io/assets/editor/themes/xq-light-e2b7f849ff5c38577aa1d8710e26477bb81e79abef7b207f8bf7153d9cef8abe.css","__theme_url_oceanic_light":"https://cpwebassets.codepen.io/assets/editor/themes/oceanic-light-3208c4068d710edb3a5ef5a46e6fbb909dba310e459a98d7238aa6307f5a4344.css","__theme_url_mdn_like":"https://cpwebassets.codepen.io/assets/editor/themes/mdn-like-638475d20adb635abc8189d1aab2383603e2c134a42c4e859cbd31a7186d8154.css","__theme_url_duotone_light":"https://cpwebassets.codepen.io/assets/editor/themes/duotone-light-1567a7cb2c03259f8a41779df0554b9e8cacc5c99e5155bf4766127067c44375.css","__theme_url_highcontrast_light":"https://cpwebassets.codepen.io/assets/editor/themes/highcontrast-light-c6f1cfa587eef152cd869bf36b59a6a1668657e9d7370aa13c4bd18e6c762d3d.css","__theme_url_scoped_twilight":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/twilight-3d9d2977caf1d9c2bd688c32fcb92ad55d6c928ce365e4573b867d902c5a9cc1.css","__theme_url_scoped_solarized_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/solarized-dark-d38c0ff12f0e33e7c25cdd35f96561b063e718151361bafa9f335713efd33cb2.css","__theme_url_scoped_tomorrow_night":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/tomorrow-night-2d64e55679888cb2622899e818a0b16f0160e78a8dcccd64c0780a9b18e9f73f.css","__theme_url_scoped_oceanic_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/oceanic-dark-9afd7f261b8072ee3f93f1289f42c07d1bacbb1980b2850de360f9210a8a9f05.css","__theme_url_scoped_panda":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/panda-4b196c933090e654ff5a2d2c91829670afefc999201da1e79e04c40ee162ed52.css","__theme_url_scoped_duotone_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/duotone-dark-77af81e75c219456ecbba1cc949b7a586cb135de802945a3ca42a862e6e5e4a7.css","__theme_url_scoped_highcontrast_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/highcontrast-dark-3e7bab1c8391b11d5cf199b40b8eee3c4329e06c9d7d446bb100e8c2ce964654.css","__theme_url_scoped_classic":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/classic-e59131849b029039d8803a429270633a1a4457486287ffc318f08da9a6c1ad4b.css","__theme_url_scoped_solarized_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/solarized-light-0ac96b9431c4aa843d5724dbf2646d9a2e348aec4ee27347941ca8f14fd24eb2.css","__theme_url_scoped_xq_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/xq-light-47d7e22e5d7c83c478949d48b671f492ae79ab14c1dd49cbadbc45a39627f3ef.css","__theme_url_scoped_oceanic_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/oceanic-light-6c62c237fd499838a4e22a4b1ec82336f157af0fbf651a70299049d5f9296e2f.css","__theme_url_scoped_mdn_like":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/mdn-like-f6ca5df742f099c2dac35644e7b1b694d1b7f9db4d8c6f7a2a3997a1effb5647.css","__theme_url_scoped_duotone_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/duotone-light-1eca5b3bedffa12faecc959c7e5d19306e7a679eedc22764d8e812881e2ae691.css","__theme_url_scoped_highcontrast_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/highcontrast-light-1b6ec8a030a8a1d9c571fe3c1614047374b3879f9d3a7ed54349f862f0912340.css"}</textarea><script src="https://cpwebassets.codepen.io/assets/common/browser_support-e442aebd85f2bb9dcd4a47cb43c7fc38efd5522ace0a675bf5e33a06413b5a28.js"></script><script src="https://cpwebassets.codepen.io/assets/common/everypage-71ee875683546ed151c5c18035e1f48d376f0a7a5455ace61e88506dd576a401.js"></script><script src="https://cpwebassets.codepen.io/assets/common/analytics_and_notifications-afa6925cbcff840929f2b7c543587d5f9d7a461af81ee7ca80631c8e37ac42f2.js"></script><script nonce="L7D5elhrvKI=">LUX=(function(){var a=("undefined"!==typeof(LUX)&&"undefined"!==typeof(LUX.gaMarks)?LUX.gaMarks:[]);var d=("undefined"!==typeof(LUX)&&"undefined"!==typeof(LUX.gaMeasures)?LUX.gaMeasures:[]);var j="LUX_start";var k=window.performance;var l=("undefined"!==typeof(LUX)&&LUX.ns?LUX.ns:(Date.now?Date.now():+(new Date())));if(k&&k.timing&&k.timing.navigationStart){l=k.timing.navigationStart}function f(){if(k&&k.now){return k.now()}var o=Date.now?Date.now():+(new Date());return o-l}function b(n){if(k){if(k.mark){return k.mark(n)}else{if(k.webkitMark){return k.webkitMark(n)}}}a.push({name:n,entryType:"mark",startTime:f(),duration:0});return}function m(p,t,n){if("undefined"===typeof(t)&&h(j)){t=j}if(k){if(k.measure){if(t){if(n){return k.measure(p,t,n)}else{return k.measure(p,t)}}else{return k.measure(p)}}else{if(k.webkitMeasure){return k.webkitMeasure(p,t,n)}}}var r=0,o=f();if(t){var s=h(t);if(s){r=s.startTime}else{if(k&&k.timing&&k.timing[t]){r=k.timing[t]-k.timing.navigationStart}else{return}}}if(n){var q=h(n);if(q){o=q.startTime}else{if(k&&k.timing&&k.timing[n]){o=k.timing[n]-k.timing.navigationStart}else{return}}}d.push({name:p,entryType:"measure",startTime:r,duration:(o-r)});return}function h(n){return c(n,g())}function c(p,o){for(i=o.length-1;i>=0;i--){var n=o[i];if(p===n.name){return n}}return undefined}function g(){if(k){if(k.getEntriesByType){return k.getEntriesByType("mark")}else{if(k.webkitGetEntriesByType){return k.webkitGetEntriesByType("mark")}}}return a}return{mark:b,measure:m,gaMarks:a,gaMeasures:d}})();LUX.ns=(Date.now?Date.now():+(new Date()));LUX.ac=[];LUX.cmd=function(a){LUX.ac.push(a)};LUX.init=function(){LUX.cmd(["init"])};LUX.send=function(){LUX.cmd(["send"])};LUX.addData=function(a,b){LUX.cmd(["addData",a,b])};LUX_ae=[];window.addEventListener("error",function(a){LUX_ae.push(a)});LUX_al=[];if("function"===typeof(PerformanceObserver)&&"function"===typeof(PerformanceLongTaskTiming)){var LongTaskObserver=new PerformanceObserver(function(c){var b=c.getEntries();for(var a=0;a<b.length;a++){var d=b[a];LUX_al.push(d)}});try{LongTaskObserver.observe({type:["longtask"]})}catch(e){}};</script><script src="https://cdn.speedcurve.com/js/lux.js?id=410041" async defer crossorigin="anonymous"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/vendor-3471a0d3a23b8d33ff99.chunk.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/4-86a3f384e4ef017c2503.chunk.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/everypage-2f3accf74c324e67266b.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/vendor-3471a0d3a23b8d33ff99.chunk.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/firebaseConnectLibs-af567fd24fd882f78021.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/vendor-3471a0d3a23b8d33ff99.chunk.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/4-86a3f384e4ef017c2503.chunk.js"></script><script src="https://cpwebassets.codepen.io/assets/packs/js/processorRouter-851ec67fd77a592f1e1a.js"></script><script src="https://static.filestackapi.com/filestack-js/3.x.x/filestack.min.js"></script><script src="https://cpwebassets.codepen.io/assets/editor/global/commonLibs-9baf61da2f0b1adbfdbda1a98aa009379eddc23641e45edf6d5c41f98fe361d0.js"></script><script src="https://cpwebassets.codepen.io/assets/editor/global/codemirror-1192be8e54ff63e3fb38f71eb325fcd7c34ed2694d671f761ae18a9ed23b9437.js"></script><script src="https://cpwebassets.codepen.io/assets/libs/emmet-codemirror-plugin-d52a9896e5f03371a6952975f3e92e5812c54903ca27e36f9c7b707444dc1e88.js"></script><script src="https://cpwebassets.codepen.io/assets/editor/pen/index-7ecc4f0743b70a8143421482d224e9c098f3db4444cd233848d64ea68f497102.js"></script></body></html>