Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <header class="site-header" role="banner">

    <div class="topbar">
        <h1 class="site-title"><a href="#">

        <!-- Logo begin -->
            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="304.2" width="2626.7" viewBox="0 323.8 2626.7 304.20002" class="logo-medium">
              <defs>
                <radialGradient gradientUnits="userSpaceOnUse" r="152.094" fy="475.972" fx="2412.87" cy="475.972" cx="2412.87" id="b" xlink:href="#a" gradientTransform="translate(4.02)"/>
                <linearGradient id="a">
                  <stop offset="0" stop-color="#fff"/>
                  <stop offset="0.2" stop-color="#f7c553" stop-opacity="0.8"/>
                  <stop offset="0.7" stop-color="#f7c553" stop-opacity="0.7"/>
                  <stop offset="1" stop-color="#f7c553" stop-opacity="0"/>
                </linearGradient>
              </defs>
              <path d="M35.1 418.5h-23c-8 0-12.1-3.4-12.1-10.3s4-10.3 12.1-10.3h23v-20.1c0-35 17.8-52.2 53.4-52.2 14.3 0 26.4 2.9 36.2 8 12.1 7.5 18.4 18.4 18.4 32.1 0 9.2-3.4 13.2-10.3 13.2-4.6 0-8.6-2.9-10.9-8-2.9-9.2-5.7-14.3-7.5-16.6-4-5.2-12.6-8-25.3-8-21.8 0-32.1 10.9-32.1 32.1v19.5h41.9c9.2 0 13.8 3.4 13.8 10.3s-4.6 10.3-13.8 10.3h-42v131.4c0 8-3.4 12.1-10.3 12.1s-10.3-4-10.3-12.1V418.5h-1.2zM221.6 538.4V418.5h-31c-8.6 0-12.6-3.4-12.6-10.3s4-10.3 12.6-10.3h41.3c6.9 0 10.9 6.3 10.9 17.8 12.6-13.8 26.4-21.2 40.7-21.2 12.1 0 21.2 3.4 28.1 10.9 6.9 7.5 10.3 17.2 10.3 28.7 0 8-3.4 12.1-10.3 12.1-4 0-6.9-2.9-8.6-8-2.9-9.8-4.6-14.9-5.2-15.5-2.9-5.2-8.6-8-16.1-8-8 0-15.5 2.9-22.4 8.6-4 2.9-9.8 9.2-17.2 18.4v95.8h39c8.6 0 12.6 3.4 12.6 9.8 0 6.9-4 10.9-12.6 10.9h-91.2c-8.6 0-12.6-3.4-12.6-10.3s4-10.3 12.6-10.3h31.6v.8zM378.2 482.2v23c0 24.7 17.2 36.7 52.2 36.7 12.6 0 23-1.1 31-4 4-1.1 11.5-5.2 21.2-12.1 6.3-5.7 10.9-8.6 12.6-8.6 5.7 0 8.6 2.9 8.6 9.2 0 6.3-4 12.6-12.6 19.5-13.8 10.9-34.4 16.6-62 16.6-48.2 0-72.3-18.9-72.3-56.8v-57.4c0-13.2 5.2-24.7 14.9-33.9 13.2-12.6 32.7-18.4 59.1-18.4 47.1 0 70.6 23.5 70.6 70 0 11.5-4.6 17.2-13.2 17.2H378.2v-1zm0-20.7h102.7c0-31-17.2-46.5-52.2-46.5-12.6 0-24.1 2.9-34.4 8.6-10.3 7.5-16.1 16.1-16.1 25.8v12.1zM558.4 482.2v23c0 24.7 17.2 36.7 52.2 36.7 12.6 0 23-1.1 31-4 4-1.1 11.5-5.2 21.2-12.1 6.3-5.7 10.9-8.6 12.6-8.6 5.7 0 8.6 2.9 8.6 9.2 0 6.3-4 12.6-12.6 19.5-13.8 10.9-34.4 16.6-62 16.6-48.2 0-72.3-18.9-72.3-56.8v-57.4c0-13.2 5.2-24.7 14.9-33.9 13.2-12.6 32.7-18.4 59.1-18.4 47.1 0 70.6 23.5 70.6 70 0 11.5-4.6 17.2-13.2 17.2H558.4v-1zm0-20.7h102.7c0-31-17.2-46.5-52.2-46.5-12.6 0-24.1 2.9-34.4 8.6-10.9 7.5-16.1 16.1-16.1 25.8v12.1zM719.7 495.4v-89.5c0-47.1 24.7-70 74.6-70 20.1 0 36.2 4.6 48.8 13.2 14.3 10.9 21.2 25.8 21.2 44.2 0 8.6-3.4 13.2-10.9 13.2-5.2 0-8.6-4-10.9-12.6-1.1-6.9-4-13.8-8-20.1-6.3-11.5-20.1-16.6-41.9-16.6-18.4 0-31.6 4.6-39.6 13.8-7.5 8.6-11.5 21.8-11.5 40.7v74.5c0 19.5 4 33.3 12.1 41.9 8.6 9.2 21.8 14.3 40.2 14.3 28.1 0 44.2-9.8 48.2-29.3 1.7-7.5 2.3-10.9 2.3-11.5 1.7-4 4.6-6.3 8.6-6.3 6.9 0 10.9 4.6 10.9 13.2 0 17.8-7.5 31.6-22.4 42.5-12.1 8-27.5 12.1-47.1 12.1-23 0-40.7-5.2-53.9-16.1-13.8-12-20.7-29.2-20.7-51.6zM897.6 508v-59.1c0-36.2 24.1-53.9 72.3-53.9 48.2 0 72.3 17.8 72.3 53.9V508c0 36.2-23.5 53.9-71.2 53.9-49.3 0-73.4-17.7-73.4-53.9zm123.4 0v-59.1c0-22.4-17.2-33.9-52.2-33.9-33.3 0-50.5 11.5-50.5 33.9V508c0 22.4 17.2 33.9 51.6 33.3 34.4 0 51.1-10.9 51.1-33.3zM1200 542.4c-9.8 7.5-18.4 12.1-25.8 14.9-8 2.9-17.8 4.6-29.3 4.6-19.5 0-35-4-47.1-12.1-13.8-9.2-20.7-23-20.7-41.9v-60.3c0-17.8 6.9-31.6 20.1-40.7 11.5-8 27-12.1 45.3-12.1 12.1 0 22.4 1.1 30.4 4s16.6 8 25.8 15.5v-74c0-9.8 3.4-14.9 9.8-14.9 6.9 0 10.9 5.2 10.9 14.9v210.6c0 7.5-3.4 10.9-9.8 10.9-4 0-6.9-2.3-8-6.9-1-3.3-1.6-7.3-1.6-12.5zm-1.1-24.1v-82.6c-10.3-7.5-18.4-12.6-24.7-14.9-8.6-3.4-17.8-5.2-28.1-5.2-13.2 0-24.1 2.3-32.1 7.5-10.3 6.3-15.5 15.5-15.5 27v56.8c0 12.1 5.2 21.2 16.1 27.5 8.6 4.6 19.5 7.5 32.7 7.5 10.9 0 20.7-1.7 28.7-5.2 6.8-4.6 14.3-10.3 22.9-18.4zM1278.1 482.2v23c0 24.7 17.2 36.7 52.2 36.7 12.6 0 23-1.1 31-4 4-1.1 11.5-5.2 21.2-12.1 6.3-5.7 10.9-8.6 12.6-8.6 5.7 0 8.6 2.9 8.6 9.2 0 6.3-4 12.6-12.6 19.5-13.8 10.9-34.4 16.6-62 16.6-48.2 0-72.3-18.9-72.3-56.8v-57.4c0-13.2 5.2-24.7 14.9-33.9 13.2-12.6 32.7-18.4 59.1-18.4 47.1 0 70.6 23.5 70.6 70 0 11.5-4.6 17.2-13.2 17.2H1278l.1-1zm0-20.7h102.7c0-31-17.2-46.5-52.2-46.5-12.6 0-24.1 2.9-34.4 8.6-10.9 7.5-16.1 16.1-16.1 25.8v12.1zM1439.4 495.4v-89.5c0-47.1 24.7-70 74.6-70 20.1 0 36.2 4.6 48.8 13.2 14.3 10.9 21.2 25.8 21.2 44.2 0 8.6-3.4 13.2-10.9 13.2-5.2 0-8.6-4-10.9-12.6-1.1-6.9-4-13.8-8-20.1-6.3-11.5-20.1-16.6-41.9-16.6-18.4 0-31.6 4.6-39.6 13.8-7.5 8.6-11.5 21.8-11.5 40.7v74.5c0 19.5 4 33.3 12.1 41.9 8.6 9.2 21.8 14.3 40.2 14.3 28.1 0 44.2-9.8 48.2-29.3 1.7-7.5 2.3-10.9 2.3-11.5 1.7-4 4.6-6.3 8.6-6.3 6.9 0 10.9 4.6 10.9 13.2 0 17.8-7.5 31.6-22.4 42.5-12.1 8-27.5 12.1-47.1 12.1-23 0-40.7-5.2-53.9-16.1-13.3-12-20.7-29.2-20.7-51.6zM1733.2 542.4c-10.3 7.5-18.4 12.6-24.1 14.9-7.5 2.9-16.6 4.6-28.1 4.6-17.2 0-31.6-3.4-42.5-10.9-12.6-8.6-19.5-21.2-19.5-37.9s6.9-29.8 20.1-39c11.5-8.6 26.4-12.6 43.6-12.6 14.3 0 30.4 3.4 48.8 9.8V446c0-12.1-5.7-20.7-17.2-25.8-8-3.4-17.8-5.2-29.3-5.2-27 0-41.3 7.5-44.2 22.4-1.1 6.9-2.3 10.3-2.3 10.9-1.7 3.4-4.6 5.2-8.6 5.2-7.5 0-11.5-4-11.5-12.1 0-10.9 4-20.7 12.6-29.8 10.3-11.5 29.3-17.2 55.7-17.2 21.2 0 36.7 3.4 47.1 10.3 12.1 8.6 18.4 23 18.4 43v73.5c0 8.6 1.7 14.3 5.2 17.2.6.6 4 2.3 9.8 4.6 3.4 1.7 5.2 4.6 5.2 9.8 0 5.7-2.9 8.6-9.2 8.6-1.7 0-4.6-.6-9.2-2.3-8-2.9-13.2-4.6-14.3-5.2-3.1-1.7-5.4-5.7-6.5-11.5zm-1.2-21.8v-30.4c-16.1-5.2-31.6-8-45.3-8-31 0-46.5 9.8-46.5 29.8 0 10.3 4.6 18.4 13.8 23 7.5 4 16.6 6.3 28.1 6.3 9.8 0 18.9-1.7 27-5.7 6.3-2.3 13.8-7.5 22.9-15zM1813.5 412.2c5.2-6.3 9.8-10.9 13.2-12.6 4.6-2.9 10.3-4.6 17.8-4.6 11.5 0 21.2 5.7 29.8 17.8 5.7-6.9 10.9-11.5 15.5-13.8 5.2-2.9 12.1-4 20.1-4 24.7 0 37.3 12.1 37.3 36.2v116.5c0 9.8-3.4 14.3-10.9 14.3-6.9 0-10.3-4.6-10.3-14.3V438c0-14.9-6.3-23-18.4-23-9.2 0-18.4 5.7-26.4 16.6v115.9c0 9.8-3.4 14.3-10.3 14.3s-10.3-4.6-10.3-14.3V440.3c0-16.6-6.9-24.7-20.1-24.7-8.6 0-16.6 5.7-25.3 16.6v115.4c0 9.8-3.4 14.3-10.9 14.3-6.9 0-10.3-4.6-10.3-14.3V405.3c0-6.9 2.9-10.3 8.6-10.3 2.9 0 5.7 2.3 7.5 6.3 2.3 2.8 3.4 6.8 3.4 10.9zM2000 412.2c16.1-11.5 35-17.2 55.7-17.2 43.6 0 65.4 18.4 65.4 54.5v59.7c0 17.2-6.3 30.4-18.4 40.2-10.9 8.6-25.8 13.2-44.8 13.2-22.4 0-41.3-5.7-58-17.8v67.7c0 10.3-3.4 15.5-10.3 15.5s-10.3-5.2-10.3-15.5v-202c0-10.3 2.9-15.5 8.6-15.5 2.9 0 5.7 2.3 8 6.3 1.3 3.4 3 7.4 4.1 10.9zm0 109c14.9 13.2 33.3 20.1 54.5 20.1 13.2 0 23.5-2.3 31.6-7.5 9.8-5.7 14.3-14.3 14.3-25.3v-59.7c0-12.6-5.2-21.2-15.5-27-8-4-18.9-6.3-32.1-6.3-12.1 0-21.8 1.7-29.3 5.2-6.9 2.9-14.3 9.2-23.5 18.4v82.1zM2192.3 464.4c0-45.3 15.5-85.5 47.1-121.1 11.5-13.2 20.7-19.5 27-19.5 2.3 0 4.6.6 6.3 2.3 1.7 1.7 2.9 3.4 2.9 5.7 0 3.4-4 8.6-12.1 16.6-32.7 31.6-49.4 70.6-49.4 117.1 0 51.6 17.2 93.5 51.1 125.7 6.9 6.3 10.3 11.5 10.3 15.5 0 2.3-1.1 4.6-2.9 6.3-1.7 1.7-4 2.9-6.3 2.9-8 0-18.9-9.2-33.3-27.5-27.5-33.9-40.7-75.2-40.7-124zM2626.7 475.9c0 45.3-15.5 85.5-47.1 121.1-11.5 13.2-20.7 19.5-27 19.5-2.3 0-4.6-.6-6.3-2.3-1.7-1.7-2.9-4-2.9-6.3 0-3.4 4-8.6 12.1-16.1 32.7-31.6 49.4-70.6 49.4-117.1 0-51.6-17.2-93.5-51.1-125.7-6.9-6.3-10.3-11.5-10.3-15.5 0-2.3 1.1-4.6 2.9-6.3 1.7-1.7 4-2.9 6.3-2.9 7.5 0 18.9 9.2 33.3 27.5 26.9 34.5 40.7 75.9 40.7 124.1z" fill="#6da768"/>
              <g fill="#f2b139">
                <path d="M2314.5 576.9h199.2M2513.1 588.9H2314c-6.3 0-12.1-5.2-12.1-12.1 0-6.9 5.2-12.1 12.1-12.1h199.1c6.3 0 12.1 5.2 12.1 12.1-.1 7-5.2 12.1-12.1 12.1z"/>
              </g>
              <path d="M2474.9 416.1c-3.2-10.8-8.3-21-16.1-29-2.1-2.1-4.3-4.1-6.5-6.1-1.7-1.6-6-4.1-6.9-6.2 4.6 10.7 9.1 21.8 5.7 33.6-1.6 5.3-7.4 18.1-15.1 14.8-7.2-3.1-6.4-18.3-7-24.4-1.5-15.1-4.9-30.1-12.9-43.1-4.4-7.1-10.1-13.4-17.3-17.7-9.5-5.6-19.3-9.4-30.1-5.3 2.4-.9 8.6 6.3 9.8 7.7 3.8 4.5 6.9 9.8 8.6 15.4 3.4 11.4.4 24.5-3.6 35.4-8.3 22.6-22.1 42.9-28.7 66.1-2.3 8.1-3.9 16.4-4.3 24.8-1.4 26.5 12.4 50.8 34.2 65.6 4.9 3.4 13.7 7.6 20 5.4-18.3-9.8-24.4-17.8-27.2-29.3-6.6-26.7 18.4-43.7 29.2-64.8 2.9-5.6 5-11.8 4.2-18.2-.3-2.4-3-14.1-6.6-13.5 10.9-1.7 18 5.5 21.7 14.9 3.9 10 6.3 20.2 4.5 30.8-.6 3.5-3.2 14.6 1.9 15.3 7.1 1 13.1-8.4 11.7-17.4-.7-4.2-1.5-10.6-1.5-10.6 7.5 9.2 10.9 18.5 12 28.6 2 18.1-5.8 42-20.3 56.8 6.1-6.2 13.9-10.5 19.8-17.2 6-6.8 10.6-14.6 14.2-23 8.1-18.6 12.8-39.6 11.4-59.9-.5-9.7-1.9-19.9-4.8-29.5z" fill="#f2b139"/>
              <circle r="152.094" cy="475.972" cx="2416.891" fill="url(#b)" class="svg-fire"/>
            </svg>
        <!-- Logo end -->

        </a></h1>

        <nav class="top-navigation" role="navigation">
            <ul class="inline-list padded-list">
                    <li><a href="#" class="icon ion-university">Learn</a></li>
                    <li><a href="#" class="icon ion-map">Map</a></li>
                    <li><a href="#" class="icon ion-chatbubbles">Chat</a></li>
                    <li><a href="#" class="icon ion-paper-airplane">News</a></li>
                    <li><a href="#" class="icon ion-edit">Wiki</a></li>
                    <li><a href="#login" class="icon ion-android-exit button button-red button-login toggle-hide">Sign In</a></li>
            </ul>
        </nav>
    </div>

    <div class="header-image">
        <div class="header-image-text">
            <h2 class="header-title">Code with Us</h2>
            <p class="header-description">Let's learn to code by building projects for nonprofits</p>
            <a class="button button-yellow" href="#">Start learning to code (it's free!)</a><a class="button button-blue" href="#">My nonprofit needs coding help</a>
        </div>
    </div>

</header>

<main role="main" class="site-main">

    <section class="fixed-width highlighted-bg">
        <h2>How it Works</h2>

        <div class="col fourth">
            <h3>Get Connected</h3>
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/landingIcons_connect.svg" alt="" class="landing-icon">
            <p>Join a community of busy, motivated people.</p>
        </div>

        <div class="col fourth">
            <h3>Learn JavaScript</h3>
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/landingIcons_learn.svg" alt="" class="landing-icon">
            <p>Work together on Full Stack JavaScript coding challenges.</p>
        </div>

        <div class="col fourth">
            <h3>Build your Portfolio</h3>
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/landingIcons_portfolio.svg" alt="" class="landing-icon">
            <p>Build apps that solve real problems for real people.</p>
        </div>

        <div class="col fourth">
            <h3>Help Nonprofits</h3>
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/landingIcons_nonprofits.svg" alt="" class="landing-icon">
            <p>Give nonprofits a boost by empowering them with code.</p>
        </div>
    </section>

    <section class="fixed-width">
        <h2>Skills You'll Learn</h2>

        <div class="col fourth highlighted-bg small-box">
            <h3>HTML5</h3>
            <div class="icon icon-large ion-social-html5"></div>
        </div>

        <div class="col fourth highlighted-bg small-box">
            <h3>CSS3</h3>
            <div class="icon icon-large ion-social-css3"></div>
        </div>

        <div class="col fourth highlighted-bg small-box">
            <h3>JavaScript</h3>
            <div class="icon icon-large ion-social-javascript"></div>
        </div>

        <div class="col fourth highlighted-bg small-box">
            <h3>Databases</h3>
            <div class="icon icon-large ion-stats-bars"></div>
        </div>



        <div class="col fourth highlighted-bg small-box">
            <h3>Git</h3>
            <div class="icon icon-large ion-social-github"></div>
        </div>

        <div class="col fourth highlighted-bg small-box">
            <h3>Node.js</h3>
            <div class="icon icon-large ion-social-nodejs"></div>
        </div>

        <div class="col fourth highlighted-bg small-box">
            <h3>Angular.js</h3>
            <div class="icon icon-large ion-social-angular"></div>
        </div>

        <div class="col fourth highlighted-bg small-box">
            <h3>Agile</h3>
            <div class="icon icon-large ion-ios-loop-strong"></div>
        </div>

    </section>

    <section class="fixed-width highlighted-bg">
        <h2>Campers You'll Hang Out With</h2>

        <div class="col third">
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/testimonial-jen.jpg" alt="" class="landing-icon testimonial-avatar">
            <p>Getting back on track with Free Code Camp and committing to a new career in 2015!
                - <a href="https://twitter.com/jenbestyoga">@jenbestyoga</a></p>
        </div>

        <div class="col third">
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/testimonial-tate.jpg" alt="" class="landing-icon testimonial-avatar">
            <p>Just built my company's website with skills I've learned from Free Code Camp!
            - <a href="https://twitter.com/TateThurston">@TateThurston</a></p>
        </div>

        <div class="col third">
            <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/testimonial-cynthia.jpg" alt="" class="landing-icon testimonial-avatar">
            <p>I'm currently working through Free Code Camp to improve my JavaScript. The community is very welcoming!
                - <a href="https://twitter.com/cynthialanel">@cynthialanel</a>
            </p>
        </div>

    </section>

    <section class="fixed-width">
        <h2>Why you should join our open source community right now:</h2>

        <ul class="large-list">
            <li class="icon ion-code">You'll get help in real time from our community chat rooms.</li>
            <li class="icon ion-code">You'll meet up with other coders in your city.</li>
            <li class="icon ion-code">You'll learn to code at your own pace, in your browser or on your phone.</li>
            <li class="icon ion-code">You'll work through our focused, interactive courses and tutorials.</li>
            <li class="icon ion-code">You'll learn state-of-the-art <strong>full stack JavaScript</strong> technologies.</li>
            <li class="icon ion-code">You'll build projects that help nonprofits carry out their missions more effectively.</li>
            <li class="icon ion-code">You'll assemble a portfolio of real apps used by real people.</li>
            <li class="icon ion-code">Learn to code today (it's free)</li>
        </ul>

        <a href="" class="button button-yellow">Learn to code today (it's free!)</a>
    </section>

    <section class="fixed-width">
        <h2>As featured in</h2>
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/as-seen-on.png" alt="" class="featured-in-image">
    </section>


</main>

<footer class="site-footer" role="contentinfo">
    <ul class="inline-list">
        <li><a href="" class="icon ion-speakerphone">Blog</a></li>
        <li><a href="" class="icon ion-social-github">Github</a></li>
        <li><a href="" class="icon ion-social-twitch">Twitch</a></li>
        <li><a href="" class="icon ion-social-linkedin">LinkedIn</a></li>
        <li><a href="" class="icon ion-social-facebook">Facebook</a></li>
        <li><a href="" class="icon ion-social-twitter">Twitter</a></li>
        <li><a href="" class="icon ion-locked">Privacy</a></li>
    </ul>
</footer>

<!-- Login -->
<div id="modal-bg" class="login-modal-bg toggle-hide"></div>
<div id="login" class="login-container">
    <div class="col half">
        <h3>Sign in with email</h3>
        <form>
            <div class="input-group">
                <input id="email" type="email" placeholder="Email">
                <label class="icon-label" for="email"><i class="icon ion-email"></i></label>
            </div>

            <div class="input-group">
                <input id="password" type="password" placeholder="Password">
                <label class="icon-label" for="password"><i class="icon ion-key"></i></label>
            </div>

            <input type="submit" value="Sign In" class="button button-red full-width">

            <p class="small"><a href="#">Forgot your password?</a>
            <br><a href="#">Sign up using your email address</a></p>
        </form>
    </div>
    <div class="col half highlighted-bg">
        <button class="button full-width button-twitter"><i class="icon ion-social-twitter"></i>Sign in with Twitter</button>
        <button class="button full-width button-github"><i class="icon ion-social-github"></i>Sign in with Github</button>
        <button class="button full-width button-facebook"><i class="icon ion-social-facebook"></i>Sign in with Facebook</button>
        <button class="button full-width button-google"><i class="icon ion-social-google"></i>Sign in with Google</button>
        <button class="button full-width button-linkedin"><i class="icon ion-social-linkedin"></i>Sign in with LinkedIn</button>
    </div>
    <button class="button button-red close-button toggle-hide"><i class="icon ion-close-circled"></i> Close</button>
</div>
              
            
!

CSS

              
                // ********* //
// Variables //
// ********* //

// Neutrals
$dark: #1d2326;

$white: #fff;
$grey: darken(#f2f5f7,2%);
$mediumgrey: #DDE4E9;

$lightgreyblue: #B8D0DC;
$greyblue: #678EB2;

// Colors
$red: #E03E4F;
$darkred: #BF2F45;

$yellow: #F2B139;
$darkyellow: #d68d33;

$green: #6da768;
$darkgreen: #528552;

$blue: #229FBF;
$darkblue: #1d7ba3;

// Fonts
$base-font-family: Lato, 'Helvetica Neue', sans-serif;
$alt-font-family: 'Roboto Slab', serif;

$base-font-size: 20px;
$base-line-height: 1.4;

$h1-font-size: 3.6;
$h2-font-size: 1.8;
$h3-font-size: 1.4;
$h4-font-size: 1;
$h5-font-size: 0.8;
$h6-font-size: 0.7;

$h1-mobile-size: 2.8;

// Sizes

$unit: $base-line-height * 1rem !default;

$padding-xs: $unit / 2;
$padding-s: $unit;
$padding-m: $unit * 2;
$padding-l: $unit * 3;
$padding-xl: $unit * 4;

$pixel-width: 1200px;
$width: $pixel-width / $base-font-size * 1em;
$half-width: $width / 2;

$border-s: 4px;
$border-m: 6px;

$border-radius: 3px;

// Mixins

@mixin gridOverlay($color: #f00, $unit: $base-line-height * 1em) {
  background-image:
    repeating-linear-gradient(90deg, rgba($color,0.5) 0%,
      rgba($color,0.5) 1px, transparent 1px, transparent),
    repeating-linear-gradient(0deg, rgba($color,0.5) 0%,
      rgba($color,0.5) 1px, transparent 1px, transparent);
  background-size: $unit $unit;

  pointer-events: none;
  width: 100vw;
  height: 200vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000000;
}

@mixin adjustType($fsize, $lheight: $base-line-height) {
  $lines: ($fsize * $lheight + $base-line-height * 2) / $base-line-height;
  $diff: (ceil($lines) - $lines) * $base-line-height;

  font-size: $fsize * 1em;
  line-height: $lheight;
  margin-top: ($base-line-height + $diff / 2) / $fsize * 1em;
  margin-bottom: ($base-line-height + $diff / 2) / $fsize * 1em;
}

@mixin clearfix {
  &::after {
    clear: both;
    content: "";
    display: table;
  }
}

@mixin container($top: false, $bottom: false) {
  padding: $padding-s;

  @media (min-width: 75em) {
    @if ($top and $bottom) {
      padding: $top calc(50% - #{$half-width}) $bottom;
    } @else if ($top) {
      padding: $top calc(50% - #{$half-width});
    } @else {
      padding-left: calc(50% - #{$half-width});
      padding-right: calc(50% - #{$half-width});
    }
  }
}

// ******** //
//  Styles  //
// ******** //
// General styles

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
    box-sizing: border-box;
    line-height: $base-line-height;
}

body {
    color: $greyblue;
    font-family: $base-font-family;
}

a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

main {
    a {
        box-shadow: inset 0 -2px $yellow;
        color: $blue;

        &:hover {
            box-shadow: inset 0 -30em $yellow;
            color: $white;
        }
    }
}

h1,
h2,
h3 {
  text-align: center;
  text-rendering: optimizeLegibility;
}

h1 {
  @include adjustType($h1-font-size);
}

h2 {
  font-family: $alt-font-family;
  @include adjustType($h2-font-size);
}

h3 {
  font-weight: 400;
  @include adjustType($h3-font-size);
}

img {
  max-width: 100%;
}

p {
  margin: $padding-s 0;
}

small,
.small {
  @include adjustType($h6-font-size);
}

input {
  background: none;
  border: 1px solid $blue;
  font: inherit;
  padding: $padding-xs;
  width: 100%;
  max-width: 100%;

  &:focus {
    box-shadow: inset 0 0 $border-m $blue;
    outline: 0;
  }
}

::selection {
  background: $blue;
  color: $white;
}

::-moz-selection {
  background: $blue;
  color: $white;
}

::-webkit-input-placeholder {
  color: $blue;
}

::-moz-placeholder{
  color: $blue;
}

// Reusable styles
.button {
  background: $green;
  border-radius: $border-radius;
  border: 0;
  box-shadow: 0 $border-s $darkgreen;
  color: $white;
  display: inline-block;
  padding: calc(#{$padding-xs} - 1px) $padding-s;

  &:focus {
    outline: 0;
  }

  &-red {
    background: $red;
    border: 1px solid $red;
    box-shadow: 0 $border-s $darkred;

    &:hover,
    &:focus {
      background: #f34459;
      box-shadow: 0 $border-s #dd324d;
      outline: 0;
    }
  }

  &-yellow {
    background: $yellow;
    border: 1px solid $yellow;
    box-shadow: 0 $border-s $darkyellow;

    &:hover,
    &:focus {
      background: #F8CB4F;
      box-shadow: 0 $border-s #F2B139, 0 0 10px $darkyellow;
      outline: 0;
    }
  }

  &-blue {
    background: $blue;
    border: 1px solid $blue;
    box-shadow: 0 $border-s $darkblue;

    &:hover,
    &:focus {
      background: #60BAD1;
      box-shadow:  0 $border-s #4CA0BD, 0 0 10px $darkblue;
      outline: 0;
    }
  }
}

.full-width {
  width: 100%;
}

.inline-list {
    @include clearfix;
    display: flex;
    margin: 0;
    padding: 0;
    text-align: center;

    a {
      display: inline-block;
      padding: $padding-xs;
    }

    li {
        flex: 1 1 auto;
        list-style: none;
        white-space: nowrap;
    }
}

.large-list {
  list-style: none;
  text-align: left;
  max-width: $width/3 + $width/2;
  margin: 0 auto $padding-s + $padding-xs;
  padding: 0;

  li {
    margin: $padding-xs;
    transition: 0.3s;

    &:hover {
      transform: translateX($unit);
    }

    &:before {
      color: $green;
    }
  }
}

@keyframes fadein {
  100% {
    opacity: 1;
  }
}

// Basic grid
.fixed-width {
  @include clearfix;
  @include container($padding-s);
  text-align: center;

  h3 {
    white-space: nowrap;
  }
}

.col {
  padding: $padding-s;
}

.small-box {
  border-radius: $border-radius;
  display: block;
  margin: $padding-s 2.5%;
  padding-top: 0;
  padding-bottom: $padding-s;
  transition: 0.3s;

  &:hover {
    transform: translateY(-$unit);
  }
}

// Topbar

.topbar {
    background: $dark;
    box-shadow: 0 $border-m $green;
    color: $greyblue;
    position: fixed;
    bottom: 0;
    left: 0;
    right:0;

    @include clearfix;

    li:nth-child(1) a:hover {
      box-shadow: inset 0 -#{$border-s} 0 $yellow;
    }

    li:nth-child(2) a:hover {
      box-shadow: inset 0 -#{$border-s} 0 $green;
    }

    li:nth-child(3) a:hover {
      box-shadow: inset 0 -#{$border-s} 0 $blue;
    }

    li:nth-child(4) a:hover {
      box-shadow: inset 0 -#{$border-s} 0 $red;
    }

    li:nth-child(5) a:hover {
      box-shadow: inset 0 -#{$border-s} 0 $greyblue;
    }
}

// Logo styling
.site-title {
  display: none;
  font-size: $h2-font-size * 1rem;
  margin: 0;
}

.logo-medium {
  width: auto;
  height: 1.8rem;
  position: relative;
  bottom: -0.27777em;

  .svg-fire {
    mix-blend-mode: overlay;
    opacity: 0;
  }

  &:hover .svg-fire {
    animation: fire 1s linear infinite;
  }
}

@keyframes fire {
  50% {
    opacity: 0;
  }

  25%, 100% {
    opacity: 1;
  }
}

// Site navigation
.top-navigation {
  .icon::before {
    display: block;
    font-size: 5vw;
    padding: 0;
  }

  ul li:first-child {
    display: none;
  }
}

// Site image header
.site-header {
  background: $dark;
}

.header-image {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/wide-social-banner.png) no-repeat top left / cover;
  background: linear-gradient(rgba($dark,0.8),rgba($dark,0.8)), url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/197359/wide-social-banner.png) no-repeat top left / cover;
  text-align: center;
  padding: $padding-s $padding-s $padding-m;

  .button {
    margin: $padding-xs;
  }
}

.header-title {
  color: $white;
  font-family: $base-font-family;

  @include adjustType($h1-mobile-size);
  margin-top: 0;
}

.header-description {
  color: $green;
  font-weight: 700;
  text-shadow: 0px 0px 6px $dark;

  @include adjustType($h3-font-size);
  margin-top: 1.5em;
}

// Content section
.highlighted-bg {
  background: $grey;
  box-shadow: 0 $border-s 0 $lightgreyblue;
}

// Icons
.landing-icon {
  display: block;
  margin: 0 auto;
  max-height: $unit * 6;
  transition: 0.3s cubic-bezier(.48,.77,.33,1.8);

  &:hover {
    transform: rotate(15deg);
  }
}

.testimonial-avatar {
  background: $lightgreyblue;
  border-radius: 100%;
  border: $border-m solid $lightgreyblue;
  transition: 0.3s;

  &:hover {
    background: $green;
    border-color: $green;
    transform: none;
  }
}

.icon:before {
  padding-right: $padding-xs;
}

.icon-large {
  color: $green;
  line-height: 0;
  font-size: $base-line-height * 6em;
  margin-top: -1.3rem;

  &:before {
    padding: 0;
  }
}

// Skills icons
.ion-social-html5 {
  color: #e34f26;
}

.ion-social-css3 {
  color: $blue;
}

.ion-social-javascript {
  color: #F0DB4F;
}

.ion-stats-bars {
  color: $darkblue;
}

.ion-social-github {
  color: #4183c4;
}

.ion-social-angular {
  color: #DD1B16;
}

.ion-social-nodejs {
  color: #80BD01;
}

.featured-in-image {
  display: block;
  margin: 0 auto;
  @include adjustType(3);
}

// Footer
.site-footer {
  background: $dark;
  box-shadow: 0 -#{$border-m} $green;
  position: relative;
  @include container($padding-xs);
  text-align: center;

  a {
    color: $greyblue;

    &:hover {
      box-shadow: inset 0 -#{$border-s} $greyblue;
    }
  }

  ul {
    flex-wrap: wrap;
  }
}

/* Login */

.login-modal-bg {
  background: rgba($dark,0.9);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  opacity: 0;

  @supports(mix-blend-mode: multiply) {
    background: #2a7fbf;
    mix-blend-mode: multiply;
  }
}

.login-container {
  background: $white;
  border-radius: $border-radius;
  box-shadow: 0 #{$border-s} $green;
  position: absolute;
  top: $padding-l;
  left: 50%;
  transform: translate3d(-50%,0,0);
  z-index: 100000;
  max-width: 90%;
  width: $half-width + $width / 3;

  display: none;
  opacity: 0;

  .half {
    width: 100%;
  }

  h3 {
    margin-top: 0.375rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    text-align: left;
  }

  .highlighted-bg {
    box-shadow: none;
  }

  .highlighted-bg .button:first-child {
    margin-top: 0;
  }

  .button {
    margin-top: $padding-s;
    padding: $padding-xs;

    &:hover,
    &:focus {
      opacity: 0.9;
    }
  }

  .icon:before {
    color: $white;
  }

  .small {
    line-height: $unit;
    text-align: center;
    margin-bottom: 0;

    a:last-child {
      color: $green;
    }
  }
}

@keyframes slidedown {
  100% {
    opacity: 1;
  transform: translate3d(-50%,-50%,0);
  }
}

.input-group {
  position: relative;

  input {
    padding-left: $padding-m + $padding-xs;

    &:focus + label .icon-label-text {
      opacity: 0;
    }

    &:valid + label .icon-label-text,
    &:invalid + label .icon-label-text {
      opacity: 0;
    }
  }

  & + .input-group {
    top: -1px;
  }

  & + .button {
    margin-top: 1.25rem;
  }
}

.icon-label {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;

  .icon::before {
    padding: $padding-xs;
    text-align: center;
    width: $unit * 2;
  }

  .icon,
  .icon::before {
    background: $blue;
    display: block;
    font-size: $h3-font-size * 1rem;
    height: 100%;
  }
}

.button-twitter {
  background: #55acee;
  box-shadow: 0 $border-s #4480bd;
}

.button-github {
  background: #666;
  box-shadow: 0 $border-s #363636;
}

.button-facebook {
  background: #3b5998;
  box-shadow: 0 $border-s #273463;
}

.button-google {
  background: #dc4e41;
  box-shadow: 0 $border-s #b53636;
}

.button-linkedin {
  background: #0077b5;
  box-shadow: 0 $border-s #005194;
}

.close-button {
  border-radius: $border-radius $border-radius 0 0;
  box-shadow: none;
  position: absolute;
  top: calc(-#{$padding-l} - 2px);
  right: 0;
  z-index: -1;
}

/* Media queries */

// 480px
@media (min-width: 30em) {

  .button.button-login {
    margin-left: $padding-xs;
    padding: 0.5em $padding-s;
    position: relative;
    bottom: -4px;

    &:hover {
      box-shadow: 0 2px $darkred, 0 0 10px $darkred, 0 0 0 $border-m rgba(#000,0.5);
      bottom: -6px;
    }
  }

  .top-navigation ul li:first-child {
    display: block;
  }

  .col {
    float: left;
  }

  .third {
    width: 33.33333%;
  }

  .half,
  .fourth {
    width: 50%;
  }

  .small-box {
    width: 45%;
  }
}

// 720px
@media (min-width: 45em) {

  .top-navigation {
    float: right;

    .icon::before {
      display: none;
    }
  }

  .site-title {
    display: block;
    float: left;
  }

  .topbar {
    position: relative;
    padding: $padding-xs;
  }

  .header-image {
    padding: $padding-l;

    .button {
      margin: $padding-m $padding-m 0;
    }
  }

  .header-title {
    @include adjustType($h1-font-size);
  }

  .header-description {
    @include adjustType($h3-font-size);
    margin-top: 1.5em;
  }

  .login-container {

    .half {
      width: 50%;
    }

    top: 50%;

    &.unhide {
      transform: translate3d(-50%,50%,0);
      animation: slidedown 0.3s forwards ease-out;
    }
  }

}

// 920px
@media (min-width: 57.5em) {
  .fourth {
    width: 25%;
  }

  .small-box {
    margin: $padding-m 2.5%;
    width: 20%;

    &:nth-child(n+6) {
      margin-top: 0;
    }
  }
}

// 1200px
@media (min-width: 75em) {
  html {
    font-size: $base-font-size;
  }

  .topbar {
    padding-left: calc(50% - #{$half-width});
    padding-right: calc(50% - #{$half-width});
  }
}

// Helpers
.unhide {
  animation: fadein 0.3s forwards ease-out;
  display: block;
}
              
            
!

JS

              
                var buttonsHide = document.querySelectorAll('.toggle-hide'),
    buttonsArray = [].slice.call(buttonsHide),
    modal = document.getElementById('login'),
    modalBg = document.getElementById('modal-bg');

function toggleModal(){
    modal.classList.toggle('unhide');
    modalBg.classList.toggle('unhide');
}

buttonsArray.forEach(function (el){
    el.addEventListener('click', function(ev){
        ev.preventDefault();
        toggleModal();
    });
});
              
            
!
999px

Console