Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <a href="https://github.com/mahmoudZakaria90/shortSnippets"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67"
    alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>


<!--==============content Goes here==============================-->
<div class="gv-padding-lg gv-align-left">
  <h3 class="">Basic usage</h3>
  <a href="https://github.com/mahmoudZakaria90/shortSnippets/blob/gh-pages/public/css/shortSnippets.css" download="" class="gv-btn gv-padding gv-margin-bottom-lg">Download ShortSnippets.css</a>
</div>
<section class="main-content gv-padding gv-align-center">
  <!--start of main-content-->
  <div class="container">
    <!--start of container-->

    <h3 class="gv-align-left gv-margin-tb-lg gv-border-bottom gv-padding-bottom">Borders can do alot</h3>
    <div class="row clf">
      <!--start of row-->
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner1</h3>

        <div class="snippet spinner1"></div>
        <!--targeted element-->

      </div>
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner2</h3>

        <div class="snippet spinner2"></div>
        <!--targeted element-->

      </div>
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner3 (Fan)</h3>

        <div class="snippet spinner3"></div>
        <!--targeted element-->

      </div>
    </div>
    <!--end of row-->

    <div class="row clf">
      <!--start of row-->
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner4</h3>

        <div class="snippet spinner4">
          <!--targeted element-->
          <div class="spinner4-right"></div>
          <div class="spinner4-left"></div>
        </div>
        <!--targeted element-->

      </div>
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner5</h3>

        <div class="snippet spinner5">
          <!--targeted element-->
          <div class="spinner5-right"></div>
          <div class="spinner5-left"></div>
        </div>
        <!--targeted element-->

        <!-- <strong class="gv-margin-tb gv-block" style="color:rgba(100,100,100,.8);position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%); z-index: 10">Under construction!</strong> -->
      </div>
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner6</h3>
        <div class="snippet spinner6">
          <!--targeted element-->
          <div class="spinner6-right"></div>
          <div class="spinner6-left"></div>
        </div>
        <!--targeted element-->
      </div>
    </div>
    <!--end of row-->

    <div class="row clf">
      <!--start of row-->
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Loader7</h3>

        <div class="snippet-wrap">
          <!--targeted element-->
          <div class="snippet spinner7"></div>
        </div>
        <!--targeted element-->

      </div>

      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner8 (Butterfly)</h3>

        <div class="snippet spinner8"></div>
        <!--targeted element-->

      </div>

      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Loader9</h3>
        <div class="snippet-wrap">
          <!--targeted element-->
          <div class="snippet spinner9"></div>
        </div>
        <!--targeted element-->
      </div>
    </div>
    <!--end of row-->

    <div class="row clf">
      <!--start of row-->
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Spinner10</h3>

        <!--targeted element-->
        <div class="snippet spinner10">
          <div class="spinner10-1"></div>
          <div class="spinner10-2"></div>
          <div class="spinner10-3"></div>
          <div class="spinner10-4"></div>
          <div class="spinner10-5"></div>
          <div class="spinner10-6"></div>
          <div class="spinner10-7"></div>
          <div class="spinner10-8"></div>
          <div class="spinner10-9"></div>
        </div>
        <!--targeted element-->

      </div>

      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">loader11</h3>
        <div class="snippet-wrap">
          <!--targeted element-->
          <div class="snippet spinner11"></div>
          <div class="spinner11-shadow"></div>
        </div>
        <!--targeted element-->
      </div>

    </div>
    <!--end of row-->

    <h3 class="gv-align-left gv-margin-tb-lg gv-border-bottom gv-padding-bottom">Box shadow Rocks !</h3>

    <div class="row clf">
      <!--start of row-->
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Shadow1</h3>
        <!--targeted element-->
        <div class="snippet shadow1"></div>
        <!--targeted element-->
      </div>

      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Shadow2</h3>
        <!--targeted element-->
        <div class="snippet shadow2"></div>
        <!--targeted element-->
      </div>
    </div>
    <!--end of row-->


    <h3 class="gv-align-left gv-margin-tb-lg gv-border-bottom gv-padding-bottom">Fancies !</h3>

    <div class="row clf">
      <!--start of row-->
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Fast &amp; Furious</h3>
        <!--targeted element-->
        <div class="snippet road">
          <img src="https://mahmoudzakaria90.github.io/shortSnippets/public/images/car1.png" alt="">
          <div class="road-inner">
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
            <div class="road-block"></div>
          </div>
        </div>
        <!--targeted element-->
      </div>
      <div class="gv-4">
        <h3 class="gv-normal gv-color-main">Progress bar</h3>
        <div class="snippet progress"></div>
        <!--targeted element-->
      </div>
    </div>
    <!--end of row-->


  </div>
  <!--end of container-->
</section>
<!--end of main-content-->
            
          
!
            
              body
{
  overflow-x: hidden;
}
/*Should be fixed in the repo by giving .gv-4 an overflow:hidden */
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console