Pen Settings



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


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


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.


Auto Save

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.


                <div class="dual-btn-container">
  <a class="dual-color-btn dual-color-corall shine-hope-anim" href="#">Shiny button corall</a>
<div class="dual-btn-container">
  <a class="dual-color-btn dual-color-blue shine-hope-anim" href="#">Shiny button blue</a>
<div class="dual-btn-container">
  <a class="dual-color-btn dual-color-indigo shine-hope-anim" href="#">Shiny button indigo</a>
<div class="dual-btn-container">
  <a class="dual-color-btn shine-hope-anim" href="#">Shiny button opacity</a>


  font-family: sans-serif;
  font-size: 16px;
  background: linear-gradient(to right, #363636 50%, #303030 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 0;
  margin: 0;

  width: auto;
  text-align: center;
  padding: 15px 0;
  display: inline-block;
  width: 160px;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  position: relative;
  overflow: hidden;
  box-shadow:0px 6px 6px 0px rgba(0,0,0,0.15);
  background-color: rgba(255,255,255,.05);
  transition: all .3s;
  transform: scale(1.05);
  background-image: linear-gradient(to right, #af4bef 50%, #ab1eed 50%);
  background: linear-gradient(to right, #3a5aff 50%, #2b4dff 50%);
  background: linear-gradient(to right, #ef4b82 50%, #ed1e64 50%);

  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: ShineAnim 5s ease infinite;
  animation-delay: 2s;
@keyframes ShineAnim{
  0%{left: -100%}
  10%{left: 100%}
  100%{left: 100%}