123

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.

            
              <div class="toggle-wrap">
  <span>Good Burger</span>
  <div class="toggle">
    <input type="checkbox" class="check">
    <b class="b switch"></b>
    <b class="b track"></b>
  </div>
  <span>Mondo Burger</span>
</div>

<div class="wrapper">
  <div id="burger">
    <div class="bun top">
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
      <span class="seed"></span>
    </div>
    <div class="lettuce"></div>
    <div class="tomato"></div>
    <div class="cheese"></div>
    <div class="meat"></div>
    <div class="bun bottom"></div>
  </div>

  <div class="burger-plank light"></div>
  <div class="countertop light">
    <span>Good Burger <a href="https://codepen.io/challenges/2018/march/" target="_blank">#CodePenChallenge</a> for March Movie Night. <a href="https://twitter.com/EliBrumley" target="_blank">@elibrumley</a></span>
  </div>
</div>

<div class="mondo-sign"> 
  <svg id="mondo-burger-neon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 396 284"><style>.st1{fill:#88b6ee}.st2{fill:#fef03d}.st3{fill:#b68abb}</style><path d="M347.5 176.6H28c-14.9 0-27-12.1-27-27v-15.2c0-14.9 12.1-27 27-27h319.4c14.9 0 27 12.1 27 27v15.2c.1 14.9-12 27-26.9 27zM28 115.8c-10.3 0-18.6 8.3-18.6 18.6v15.2c0 10.3 8.3 18.6 18.6 18.6h319.4c10.3 0 18.6-8.3 18.6-18.6v-15.2c0-10.3-8.3-18.6-18.6-18.6H28z" fill="#773ba6"/><path class="st1" d="M352 105.7h-32.1c-2.3 0-4.2-1.9-4.2-4.2 0-2.3 1.9-4.2 4.2-4.2H352c2.2 0 5.1-1.4 6.3-4 1.5-3.3-.1-7.8-4.4-12.7C302.6 22 235.8 9.8 188.9 9.8c-42 0-78.7 8.2-108.9 24.3-25.3 13.4-41.4 29.7-52 40.6-1.2 1.2-2.3 2.4-3.4 3.4-5.8 5.9-8.7 11-7.8 14.2.7 2.7 4.2 4.1 5.4 4.5h31.9c2.3 0 4.2 1.9 4.2 4.2 0 2.3-1.9 4.2-4.2 4.2h-33l-.5-.1c-.4-.1-9.7-2.5-11.9-10.5-1.8-6.4 1.5-14 10-22.4 1.1-1.1 2.2-2.2 3.3-3.4 11-11.2 27.6-28.1 54.1-42.2C107.5 9.8 145.5 1.3 188.9 1.3c45 0 85.6 10.5 120.6 31.3 28.2 16.7 44.6 35.3 50.7 42.3 9 10.2 7.5 18 5.8 21.8-2.4 5.3-8.1 9-14 9zM186.6 282.7c-45 0-85.6-10.5-120.6-31.3-28.2-16.7-44.6-35.3-50.7-42.3-9-10.2-7.5-18-5.8-21.8 2.4-5.3 8.2-9 14-9h32.1l265.8.4h33l.5.1c.4.1 9.7 2.5 11.9 10.5 1.8 6.4-1.5 14-10 22.4-1.1 1.1-2.2 2.2-3.3 3.4-11 11.2-27.6 28.1-54.1 42.2-31.4 16.9-69.4 25.4-112.8 25.4zM23.5 186.8c-2.2 0-5.1 1.4-6.3 4-1.5 3.3.1 7.8 4.4 12.7 51.3 58.4 118.1 70.7 165 70.7 42 0 78.7-8.2 108.9-24.3 25.3-13.5 41.4-29.8 52-40.7 1.2-1.2 2.3-2.4 3.4-3.4 5.8-5.9 8.7-11 7.8-14.2-.7-2.5-4-4-5.4-4.5h-31.9l-265.8-.4H23.5z"/><path class="st2" d="M165.8 129.5c-.5 0-1-.1-1.7-.5L27.3 46.4c-1.4-.9-1.6-2.2-1.4-3.1.2-.9 1.1-2 2.8-2l15.1-.2-16.7-19.2c-1.1-1.3-.9-2.6-.4-3.4.5-.8 1.7-1.5 3.3-1l71.6 23.1c1.2.4 2 1.3 2.1 2.5.1 1.1-.5 2.2-1.6 2.8l-21 11.5 85.9 67.2c2.1 1.6.9 3.5.8 3.7 0 .2-.7 1.2-2 1.2zm-129-83.2l95.1 57.3-56.2-44c-.8-.7-1.3-1.7-1.2-2.7.1-1 .7-1.9 1.6-2.5l19.2-10.6-59-19.1 14.3 16.4c.8.9 1 2.1.5 3.2-.5 1-1.5 1.7-2.7 1.7l-11.6.3zm10-1.7z"/><path class="st3" d="M131.5 24.8h7.7l2.7 1.2v3.2l-2 .9v22.4l2 .9v3.2l-2.7 1.2H131l-2.7-1.2v-3.2l2-.9V35l-6.1 15.9h-3.8L114.9 35v17.5l2 .9v3.2l-2.7 1.2h-4.4l-2.7-1.2v-3.2l2-.9V30l-2-.9V26l2.7-1.2h7.9l2.6 2.1 4.3 11 4.5-11 2.4-2.1zM162 57.9h-6c-6.8 0-10.8-4.4-10.8-11.4V36c0-7.1 4-11.4 10.8-11.4h5.9c6.8 0 10.8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-.3 3.5.9.7 1.2.3 2.8-.9 3.5l-31.3 18c-.5.3-.9.4-1.3.4zM188.5 185c-.1 0-.1 0 0 0-1 0-2.3-.6-2.7-2.3l-4.2-19.7-10.5 10.5c-1.2 1.2-2.6 1.1-3.4.6-.8-.5-1.6-1.7-1.1-3.3l5.2-17.5-7.5 5.3c-1.1.8-2.7.5-3.5-.6-.8-1.1-.5-2.7.6-3.5l12.8-9.1c1.3-.9 2.6-.7 3.4-.1.8.6 1.4 1.7 1 3.2l-4.5 14.9 6.7-6.7c.8-.8 1.9-1.1 3-.8 1 .3 1.8 1.2 2.1 2.3l2.8 13 1.8-7.7c.2-1.1 1-1.9 2-2.3 1-.3 2.1-.1 2.9.6l20.8 17.2c1.1.9 1.2 2.5.3 3.6-.9 1.1-2.5 1.2-3.6.3l-18.2-15.1-3.4 14.9c-.6 1.7-1.9 2.3-2.8 2.3z"/></svg>
</div>

<!--
Resources:
base64 texture generator
http://codeblock.at/base64-noise-generator/
-->
            
          
!
            
              * {
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: 'Chewy', cursive;
  position: relative;
  margin: 0;
  width: 100%;
  height: 100vh;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #fff;
  background-repeat: repeat;
  background-size: 45px auto;
  transition: background-color 0.2s ease-out;
  
  &:before {
    content: '';
    display: block;
    background-image: url('http://thepatternlibrary.com/img/v.png');
    background-repeat: repeat;
    background-size: 60px auto;
    opacity: 0.06;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
  
  &.dark {
    transition: all 0.2s ease-out 0.2s;
    background-color: #1D1554;
    
    .toggle-wrap span {
      color: #eee;
      transition-delay: 0.25s;
    }
  }
}

@keyframes blink {
  70% {
    opacity: 0.65;
  }
}
@keyframes fade {
  40%, 43%, 46% {
    opacity: 0.8;
  }
  42%, 45% {
    opacity: 0.1;
  }
}

.st2 {animation: blink 0.08s infinite alternate;}
.st3 {animation: fade 3.8s infinite alternate;}

.mondo-sign {
  display: block;
  position: absolute;
  bottom: 260px;
  width: 365px;
  height: auto;
  left: 50%;
  transform: translate(-50%, 20%) rotate(6deg);
  opacity: 0;
  transition: all 0.1s ease-out;
  
  @media (min-height: 720px) {width: 450px;}
  @media (min-height: 900px) {width: 560px;}

  svg {
    display: inline-block;
    height: 100%;
    width: 100%;
  }

  &.on {
    transition: all 0.2s ease-out 0.3s;
    opacity: 1;
    transform: translate(-50%, 0) rotate(0deg);
  }
}

.toggle-wrap {
  display: flex;
  align-items: center;
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: #87431f;
  z-index: 10;

  span { 
    &:nth-of-type(1) {transform: translateX(-40%);}
    &:nth-of-type(2) {transform: translateX(32%);}
  }
}

.b {
  display: block;
}

.toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 40px;
  border-radius: 100px;
  background-color: #ddd;
  margin: -20px -40px;
  overflow: hidden;
  box-shadow: inset 0 0 2px 1px rgba(0,0,0,.05);
}

.check {
  position: absolute;
  display: block;
  cursor: pointer;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 6;
}

.check:checked ~ .track {
  box-shadow: inset 0 0 0 20px #4bd863;
}

.check:checked ~ .switch {
  right: 2px;
  left: 22px;
  transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
  transition-property: left, right;
  transition-delay: .05s, 0s;
}

.switch {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  right: 22px;
  background-color: #fff;
  border-radius: 36px;
  z-index: 1;
  transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
  transition-property: left, right;
  transition-delay: 0s, .05s;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.track {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.05);
  border-radius: 40px;
}

.light {
  position: relative;
  overflow: hidden;
  width: 100%;
  
  &:before,
  &:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  &:before {
    background: url('http://thepatternlibrary.com/img/h.jpg') repeat 150px;
    opacity: 0.4;
  }

  &:after {
    background: rgba(255,255,255,0.1);
  }
}

.countertop {
  position: relative;
  height: 72px;
  text-align: center;
  background-color: #ccc;
  
  &:after {height: 38%;}
  
  span {
    color: #ccc;
    display: inline-block;
    margin: 40px 0 0 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    
    a {color: #fff;}
  }
}

.burger-plank {
  height: 30px;
  width: 45%;
  min-width: 460px;
  z-index: 1;
  border-radius: 4px;
  margin: 0 auto;
  margin-bottom: -18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), 4px 6px 70px -8px rgba(0,0,0,0.2);
  background-color: #f99f41;
  &:before {}
  &:after {height: 22%;}
}

#burger {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin: 0 auto;
  margin-bottom: -4px;
  z-index: 2;

  .bun {
    width: 100%;
    height: 54px;
    position: relative;

    &.top {
      border-radius: 120px 120px 18px 18px;
      background: linear-gradient(to bottom, #d68b52 0%,#e0862d 71%,#f9deaa 100%);
      padding: 6px 22px 0 20px;
    }
    &.bottom {
      border-radius: 18px 18px 120px 120px;
      background: linear-gradient(to bottom, #ecdac5 0%,#efa451 8%,#c57e3a 93%,#b56820 100%);
      box-shadow: 0 4px 4px -2px rgba(0,0,0,0.1);
    }

    .seed {
      position: absolute;
      height: 10px;
      width: 3px;
      background: #f9deaa;
      display: inline-block;
      border-radius: 50%;
      box-shadow: 1px 2px 1px rgba(0,0,0,0.2);
      position: relative;
      z-index: 10;
      transform-origin: 50%;
    }
    @for $i from 1 through 25 {
      .seed:nth-child(#{$i}) {
        top: random(15) + px;
        left: (4 * $i) + px;
        transform: rotate(random(180) - 360 + deg);
      }
    }
  }
  .meat {
    position: relative;
    background: #87431f;
    background: repeating-linear-gradient(-3deg, #87431f, #87431f 12px, darken(#87431f, 1%) 16px, darken(#87431f, 4%) 25px);
    background-position: 50%;
    height: 48px;
    width: 106%;
    border-radius: 48px;
    transition: all 0.2s ease-out 0.2s;

    &.mondo-meat {
      height: 100px;
      width: 125%;
      transition: all 0.3s cubic-bezier(0, 0, 0.49, 1.86) 0.2s;
    }
  }
  .tomato {
    width: 92%;
    height: 16px;
    background: #EA3126;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3);
  }
  .cheese {
    background: #f3d052;
    width: 94%;
    height: 6px;
    position: relative;
    border-radius: 2px;
    z-index: 10;
    
    &:after {
      content: '';
      position: absolute;
      top: 0;
      right: 12px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 18px 42px 0 67px;
      border-color: #f3d052 transparent transparent transparent;
    }
  }
  .lettuce {
    background: linear-gradient(to bottom, #92c66a 0%,#61aa3d 100%);
    width: 94%;
    height: 10px;
    position: relative;
    border-radius: 2px;
  }
}
            
          
!
            
              $('.toggle input').on('click', function() {
  $('.meat').toggleClass("mondo-meat");
  $('.mondo-sign').toggleClass("on");
  $('body').toggleClass("dark");
});
            
          
!
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