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='B'>B</div>
<div class='B alternate'>HIGH</div>
            
          
!
            
              body { background:#FFF8E6; }
.B {
    position:absolute;
    top: 200px;
    left: 300px;
    letter-spacing: -.15em;
    padding-right:45px;
    margin-top:-150px;
    line-height:236px;
    font-size:225pt;
    font-weight:bold;
    font-family:'Carrois Gothic SC', sans-serif;
    background-image: 
         linear-gradient(187deg,#FFBF7F,#FFBF7F),
         linear-gradient(184deg,#F38844 30%, #F4A668 50%),
         linear-gradient(185deg,#E95E3F 30%,#F38669 50%),
         linear-gradient(184deg,#8A7668 33%,#AF9F88 38%),
         linear-gradient(187deg,#af9678,#cfb698),
         linear-gradient(187deg,#dcc2a1,#ecd2b1);
    background-position: 
          0px 0px, 0px 9%, 0px 20%, 0px 30%, 0px 60%, 0px 100%;
    background-size: 2000px 9.7%, 2000px 11%, 2000px 10%, 2000px 30%, 2000px 30%, 2000px 30%, 2000px 40%;
    background-repeat: no-repeat;
    color: transparent;
    -webkit-background-clip: text;
}
.B:before {
    content:'';
    position:absolute;
    left: -231px;
    height:135px;
    width: 258px;
    background-image: linear-gradient(180deg, rgba(76%, 39%, 35%,.5) 16.77%, rgba(94%, 48%, 23%,.5) 17%, rgba(94%, 48%, 23%,.5) 34%,  rgba(88%, 31%, 20%,.5) 35%, rgba(88%, 31%, 20%,.5) 50%, rgba(36%, 34%, 35%,.5) 51%, rgba(36%, 34%, 35%,.5) 67%, rgba(45%, 40%, 35%,.5) 68%, rgba(45%, 40%, 35%,.5) 84%,rgba(62%, 54%, 45%,.5) 84%), /* Vertical bar next to the letter */
    linear-gradient(187deg,#A18D74 23px,#B8A28A 26px),   /* second small bar in last big bar */
    radial-gradient(circle at bottom right, #B8A28A 22px, transparent 22px),
    linear-gradient(188deg,#87766C 22px,#A4978E 24px),                 /* first small bar in last big bar */
    radial-gradient(circle at bottom right, #A4978E 22px, transparent 22px),
    linear-gradient(200deg,rgba(0, 0, 0, 1) -21px,transparent 27px),        /* shadow */    
    radial-gradient(circle at top right,#D1B69B 44px, #BFB1A4 47px, transparent 30px),    /* last big bar */ 
    linear-gradient(0deg,#D1B69B,#D1B69B),
    linear-gradient(187deg,#6D6864 18px, #898481 21px),          /* second small bar in second big bar */
    radial-gradient(circle at top right, #898481 22px, transparent 22px),    
    linear-gradient(187deg,#E95E3F 15px, #f38669 20px),  /* first small bar in 2nd big bar (shadowed) */
    radial-gradient(circle at top right, #f38669 22px, transparent 22px),     
    linear-gradient(196deg,rgba(60, 60, 60, 1) -21px,transparent 27px),   /* shadow on second big bar */
    radial-gradient(circle at top right, #D1B69B 44px, #BFB1A4 47px, transparent 30px),   /* second big bar */    
    linear-gradient(0deg,#D1B69B,#D1B69B), 
    linear-gradient(190deg,#F38844 14px,#f4a668 17px),  /* second small bar on top (shadowed) */
    radial-gradient(circle at top right, #f4a668 22px, #F29C57 25px, transparent 22px),   
    linear-gradient(0deg,#ffbf7f,#ffbf7f),                        /* first small bar on top */
    radial-gradient(circle at top right, #ffbf7f 20px, #FFB366 21px, transparent 22px),
    radial-gradient(circle at top right, #fccda1 42px, #FFC187 44px, transparent 45px), /* big bar on top */
    linear-gradient(0deg,#FCCDA1,#fccda1); 
    background-position: 
        256px 0px,184px 110px,163px 110px, 163px 88px,144px 88px, 106px 88px, 41px 88px, /* last big bar */ 137px 88px,142px 66px, 120px 66px,142px 44px,120px 44px, 64px 44px,
        42px 44px, /* second big bar */ 78px 44px,97px 22px, 76px 22px,65px 0px,43px -1px, 0px 0px, /* big bar on top */ 44px 0px;
    background-size: 3px 132px,
        198px 22px, 22px 22px,198px 22px, 22px 22px, 76px 22px, 96px 44px, 200px 44px,198px 22px, 22px 22px,198px 22px, 22px 22px, 96px 44px, 44px 44px, 200px 44px, 198px 22px, 22px 22px, 198px 22px, 22px 22px, 44px 44px, 200px 44px;
    background-repeat: no-repeat;    
}

.alternate { top: 500px; }
.alternate:after {
  transform:rotateY(180deg);
  content:'';
    position:absolute;
    left: calc(100% - 18px);
    height:135px;
    width: 258px;
    background-image: linear-gradient(180deg, rgba(76%, 39%, 35%,.5) 16.77%, rgba(94%, 48%, 23%,.5) 17%, rgba(94%, 48%, 23%,.5) 34%,  rgba(88%, 31%, 20%,.5) 35%, rgba(88%, 31%, 20%,.5) 50%, rgba(36%, 34%, 35%,.5) 51%, rgba(36%, 34%, 35%,.5) 67%, rgba(45%, 40%, 35%,.5) 68%, rgba(45%, 40%, 35%,.5) 84%,rgba(62%, 54%, 45%,.5) 84%), /* Vertical bar next to the letter */
    linear-gradient(187deg,#A18D74 23px,#B8A28A 26px),   /* second small bar in last big bar */
    radial-gradient(circle at bottom right, #B8A28A 22px, transparent 22px),
    linear-gradient(188deg,#87766C 22px,#A4978E 24px),                 /* first small bar in last big bar */
    radial-gradient(circle at bottom right, #A4978E 22px, transparent 22px),
    linear-gradient(200deg,rgba(0, 0, 0, 1) -21px,transparent 27px),        /* shadow */    
    radial-gradient(circle at top right,#D1B69B 44px, #BFB1A4 47px, transparent 30px),    /* last big bar */ 
    linear-gradient(0deg,#D1B69B,#D1B69B),
    linear-gradient(187deg,#6D6864 18px, #898481 21px),          /* second small bar in second big bar */
    radial-gradient(circle at top right, #898481 22px, transparent 22px),    
    linear-gradient(187deg,#E95E3F 15px, #f38669 20px),  /* first small bar in 2nd big bar (shadowed) */
    radial-gradient(circle at top right, #f38669 22px, transparent 22px),     
    linear-gradient(196deg,rgba(60, 60, 60, 1) -21px,transparent 27px),   /* shadow on second big bar */
    radial-gradient(circle at top right, #D1B69B 44px, #BFB1A4 47px, transparent 30px),   /* second big bar */    
    linear-gradient(0deg,#D1B69B,#D1B69B), 
    linear-gradient(190deg,#F38844 14px,#f4a668 17px),  /* second small bar on top (shadowed) */
    radial-gradient(circle at top right, #f4a668 22px, #F29C57 25px, transparent 22px),   
    linear-gradient(0deg,#ffbf7f,#ffbf7f),                        /* first small bar on top */
    radial-gradient(circle at top right, #ffbf7f 20px, #FFB366 21px, transparent 22px),
    radial-gradient(circle at top right, #fccda1 42px, #FFC187 44px, transparent 45px), /* big bar on top */
    linear-gradient(0deg,#FCCDA1,#fccda1); 
    background-position: 
        256px 0px,184px 110px,163px 110px, 163px 88px,144px 88px, 106px 88px, 41px 88px, /* last big bar */ 137px 88px,142px 66px, 120px 66px,142px 44px,120px 44px, 64px 44px,
        42px 44px, /* second big bar */ 78px 44px,97px 22px, 76px 22px,65px 0px,43px -1px, 0px 0px, /* big bar on top */ 44px 0px;
    background-size: 3px 132px,
        198px 22px, 22px 22px,198px 22px, 22px 22px, 76px 22px, 96px 44px, 200px 44px,198px 22px, 22px 22px,198px 22px, 22px 22px, 96px 44px, 44px 44px, 200px 44px, 198px 22px, 22px 22px, 198px 22px, 22px 22px, 44px 44px, 200px 44px;
    background-repeat: no-repeat;    
}

            
          
!
            
              // For more check out zachsaucier.com
            
          
!
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