Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <!--   NAVBAR   -->
  <nav class="navbar">

    <input id="navbar-close" type="radio" name="navbar" checked="">
    <input id="navbar-open" type="radio" name="navbar">

    <a class="anima-tranx column" href="https://animadio.org" title="Animadio">
      <img src="https://animadio.org/img/logo-nav.png" alt="Animadio Logo">
    </a>

    <ul class="anima-trany">
      <li class="mar-top-md">
        <a href="#" title="Go to Home">
          <i class="fa fa-home fa-lg" aria-hidden="true"></i>
          <span>Home</span>
        </a>
      </li>
      <li class="mar-top-md">
        <a href="#presentation" title="Go to Presentation">
          <i class="fab fa-black-tie fa-lg" aria-hidden="true"></i>
          <span>Presentation</span>
        </a>
      </li>
      <li class="mar-top-md">
        <a href="#portfolio" title="Go to Portfolio">
          <i class="fas fa-th fa-lg" aria-hidden="true"></i>
          <span>Portfolio</span>
        </a>
      </li>
    </ul>

    <ul>
      <li class="mar-top-md">
        <a class="color-github-onto" href="#" rel="noreferrer noopener" target="_blank" title="GitHub">
          <i class="fab fa-github fa-lg" aria-hidden="true"></i>
        </a>
      </li>
      <li class="mar-top-md">
        <a class="color-fb-onto" href="#" rel="noreferrer noopener" target="_blank" title="Facebook">
          <i class="fab fa-facebook fa-lg" aria-hidden="true"></i>
        </a>
      </li>
      <li class="mar-top-md">
        <a class="color-in-onto" href="#" rel="noreferrer noopener" target="_blank" title="LinkedIn">
          <i class="fab fa-linkedin fa-lg" aria-hidden="true"></i>
        </a>
      </li>
    </ul>

    <label for="navbar-close" title="Close the Navigation Menu">
      <i class="fas fa-angle-double-up fa-lg" aria-hidden="true"></i>
    </label>
    <label for="navbar-open" title="Open the Navigation Menu">
      <i class="fas fa-angle-double-down fa-lg" aria-hidden="true"></i>
    </label>
  </nav>

  <h1 class="text-center mar-top-lg">Welcome to the Animadio-Portfolio</h1>

  <!--   SLIDER   -->
  <header class="slider" id="slider">
    <h2 class="hide">Portfolio</h2>

    <input id="slider-check-play" type="checkbox" checked>
    <input id="slider-check-repeat" type="checkbox" checked>
    <input id="slider-radio1" type="radio" name="slider" checked>
    <input id="slider-radio2" type="radio" name="slider">
    <input id="slider-radio3" type="radio" name="slider">
    <input id="slider-radio4" type="radio" name="slider">
    <input id="slider-radio5" type="radio" name="slider">

    <figure>
      <img src="https://via.placeholder.com/1000x400?text=example1" alt="Your awesome alternate text">
      <img src="https://via.placeholder.com/1000x400?text=example2" alt="Your awesome alternate text">
      <img src="https://via.placeholder.com/1000x400?text=example3" alt="Your awesome alternate text">
      <img src="https://via.placeholder.com/1000x400?text=example4" alt="Your awesome alternate text">
      <img src="https://via.placeholder.com/1000x400?text=example5" alt="Your awesome alternate text">
    </figure>

    <ul>
      <li>
        <label for="slider-check-repeat" title="Repeat On/Off">
          <i class="fas fa-plus-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
      <li>
        <label for="slider-check-play" title="Play/Stop">
          <i class="fas fa-play-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
      <li>
        <label for="slider-radio1" title="1st Picture">
          <i class="fas fa-dot-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
      <li>
        <label for="slider-radio2" title="2nd Picture">
          <i class="fas fa-dot-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
      <li>
        <label for="slider-radio3" title="3rd Picture">
          <i class="fas fa-dot-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
      <li>
        <label for="slider-radio4" title="4th Picture">
          <i class="fas fa-dot-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
      <li>
        <label for="slider-radio5" title="5th Picture">
          <i class="fas fa-dot-circle fa-lg" aria-hidden="true"></i>
        </label>
      </li>
    </ul>

    <div></div>
  </header>

<!--   PRESENTATION SECTION  -->
  <section class="container-90xs text text-justify bord-round pad-all-md pad-top-lg mar-top-lg" id="presentation">
    <h2 class="text-center">Presentation</h2>

      <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio accusamus dolorum
        molestias corrupti libero exercitationem non, quibusdam nemo laborum commodi aperiam
        magnam sunt doloremque autem placeat eum, nisi nesciunt dolor fuga repellendus, quo
        voluptate deleniti? Cupiditate eum adipisci rem omnis!</p>
      <p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Beatae perferendis commodi
        amet magni laudantium nemo, animi ea debitis. Vero architecto libero incidunt, ratione
        quas delectus facilis, optio rerum officiis ipsam asperiores! Facere nemo iste hic aut
        optio sequi voluptates accusamus quam expedita veritatis, quaerat asperiores vero dolore
        voluptas, vitae harum possimus quia, facilis at inventore maiores modi accusantium!
        Accusamus, omnis.</p>

      <a class="btn-quartz" href="#">Link 1</a>
      <a class="btn-quartz" href="#">Link 2</a>
  </section>

<!--   PORTFOLIO SECTION  -->
  <section class="container-90xs pad-top-lg" id="portfolio">
    <h2 class="text-center">Portfolio</h2>

    <input id="menu-radio1" class="menu-radio1" type="radio" name="menu" checked>
    <input id="menu-radio2" class="menu-radio2" type="radio" name="menu">
    <input id="menu-radio3" class="menu-radio3" type="radio" name="menu">
    <input id="menu-radio4" class="menu-radio4" type="radio" name="menu">

    <nav class="menu">
      <label for="menu-radio1">
        All
        <i class="fas fa-caret-down fa-2x" aria-hidden="true"></i>
      </label>
      <label for="menu-radio2">
        Choice 1
        <i class="fas fa-caret-down fa-2x" aria-hidden="true"></i>
      </label>
      <label for="menu-radio3">
        Choice 2
        <i class="fas fa-caret-down fa-2x" aria-hidden="true"></i>
      </label>
      <label for="menu-radio4">
        Choice 3
        <i class="fas fa-caret-down fa-2x" aria-hidden="true"></i>
      </label>
    </nav>

    <figure class="gallery menu-relay">

      <figure class="menu-target1-target2-target4">
        <img src="https://via.placeholder.com/800x500?text=example1" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h5>Your 1st title</h5>
            <p>Your 1st description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1-target4">
        <img src="https://via.placeholder.com/800x500?text=example2" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 2nd title</h3>
            <p>Your 2nd description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1-target2">
        <img src="https://via.placeholder.com/800x500?text=example3" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 3rd title</h3>
            <p>Your 3rd description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1-target3-target4">
        <img src="https://via.placeholder.com/800x500?text=example4" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 4th title</h3>
            <p>Your 4th description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1-target3">
        <img src="https://via.placeholder.com/800x500?text=example5" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 5th title</h3>
            <p>Your 5th description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1-target3">
        <img src="https://via.placeholder.com/800x500?text=example6" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 6th title</h3>
            <p>Your 6th description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1">
        <img src="https://via.placeholder.com/800x500?text=example7" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 7th title</h3>
            <p>Your 7th description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>

      <figure class="menu-target1-target3">
        <img src="https://via.placeholder.com/800x500?text=example8" alt="Your awesome alternate text">
        <figcaption>
          <a href="https://animadio.org" title="Your awesome title">
            <h3>Your 8th title</h3>
            <p>Your 8th description</p>
            <i class="fas fa-image" aria-hidden="true"></i>
          </a>
        </figcaption>
      </figure>
    </figure>
  </section>

  <!--   FOOTER   -->
  <footer class="foot">
    <ul class="check"></ul>

    <ul>
      <li class="anima-scal3d-onto">
        <a class="color-fb cursor-hand" href="#" rel="noreferrer noopener" target="_blank" title="Facebook">
          <i class="fab fa-facebook fa-3x" aria-hidden="true"></i>
        </a>
      </li>
      <li class="anima-scal3d-onto">
        <a class="color-github cursor-hand" href="#" rel="noreferrer noopener" target="_blank" title="GitHub">
          <i class="fab fa-github fa-3x" aria-hidden="true"></i>
        </a>
      </li>
      <li class="anima-scal3d-onto">
        <a class="color-in cursor-hand" href="#" rel="noreferrer noopener" target="_blank" title="LinkedIn">
          <i class="fab fa-linkedin fa-3x" aria-hidden="true"></i>
        </a>
      </li>
    </ul>
  </footer>
              
            
!

CSS

              
                :root {
    --dark-color : #2b2c33;
    --light-color: #747474;
    --green-color: #8a9ba0;
    --white-color: #f4f5f5;
    --keyframes-content1: url(https://via.placeholder.com/1000x400?text=example1);
    --keyframes-content2: url(https://via.placeholder.com/1000x400?text=example2);
    --keyframes-content3: url(https://via.placeholder.com/1000x400?text=example3);
    --keyframes-content4: url(https://via.placeholder.com/1000x400?text=example4);
    --keyframes-content5: url(https://via.placeholder.com/1000x400?text=example5);
}

/*   GLOBAL   */
body {
    --body-background-color: var(--dark-color);
    --body-color:var(--white-color);
    --body-font-family: 'Dancing Script', cursive;
}

h1,
h2 {
    --title-font-family: 'Dancing Script', cursive;
}

.navbar {
    --navbar-background-color: var(--light-color);
    --navbar-link-hover-color: var(--dark-color);
    --navbar-first-list-span-font-size: 3rem;
}

/*   PRESENTATION   */
.text {
    --container-background-color: var(--green-color);
}

.text a {
    --btn-background-color: var(--light-color);
}

/*   PORTFOLIO   */
.menu {
    --menu-label-hover-background-color: var(--green-color);
    --menu-fa-color: var(--light-color);
    --menu-checked-label-background-color: var(--light-color);
}

/*   FOOTER   */
.foot {
    --foot-last-child-background-color: var(--light-color);
}
              
            
!

JS

              
                // No JavaScript at all !
              
            
!
999px

Console