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


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.


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.


                <h3>Hover on buttons to demo animations</h3>
<div class="row" id="animate">
  <a href="">Animate.css</a>: &ensp;
  <button class="first">SlideInRight</button>
  <button class="second">Bounce</button>
  <button class="third">Rubber Band</button>
  <button class="fourth">Jello</button>
<div class="row" id="csshake">
  <a href="">CSShake</a>: &ensp;
  <button class="shake-slow">Shake-slow</button>
  <button class="shake-little">Shake-little</button>
  <button class="shake-chunk">Shake-chunk</button>
  <button class="shake-rotate">Shake-rotate</button>
<div class="row" id="magic">
  <a href="">Magic Animations</a>: &ensp;
  <button id="magic1">Magic</button>
  <button id="magic2">PuffIn</button>
  <button id="magic3">VanishIn</button>
  <button id="magic4">VanishOut</button>
<div class="row" id="hover">
  <a href="">Hover.css</a>: &ensp;
  <button class="hvr-wobble-skew">Wobble skew</button>
  <button class="hvr-sweep-to-right">Sweep right</button>
  <button class="hvr-ripple-out">Ripple Out</button>
  <button class="hvr-underline-from-left">Underline Left</button>


                body {
  margin: 0;
  font-size: 30px;
h3 {
  width: 100%;
  text-align: center;
  font-size: 25px;
.row {
  width: 100%;
  height: 50px;
  margin: 25px;
  display: flex;
  align-items: flex-start;
  justify-content: left;
button {
  font-size: 20px;
  color: white;
  padding: 5px;
  margin: 0 5px;
  cursor: pointer;
  border: none;
#animate button {
  background-color: #9BD;
#csshake button {
  background-color: #BD9A79;
#magic button {
  background-color: #9A79BD;
#hover button {
  background-color: #79BD9A;
.hvr-ripple-out::before {
  border-color: #79BD9A;


                var animationend = "mozanimationend webkitanimationend MSanimationend oanimationend animationend";

$('#animate button.first').on('mouseenter', function(){
  $(this).addClass('animated slideInRight').one(animationend, function(){$(this).removeClass('animated slideInRight')});
$('#animate button.second').on('mouseenter', function(){
  $(this).addClass('animated bounce').one(animationend, function(){$(this).removeClass('animated bounce')});
$('#animate button.third').on('mouseenter', function(){
  $(this).addClass('animated rubberBand').one(animationend, function(){$(this).removeClass('animated rubberBand')});
$('#animate button.fourth').on('mouseenter', function(){
  $(this).addClass('animated jello').one(animationend, function(){$(this).removeClass('animated jello')});

$('#magic1').on('mouseenter', function () {
  $(this).addClass('magictime magic').one(animationend, function(){$(this).removeClass('animated magic')});
$('#magic2').on('mouseenter', function () {
  $(this).addClass('magictime puffIn').one(animationend, function(){$(this).removeClass('animated puffIn')});
$('#magic3').on('mouseenter', function () {
  $(this).addClass('magictime vanishIn').one(animationend, function(){$(this).removeClass('animated vanishIn')});
$('#magic4').on('mouseenter', function () {
  $(this).addClass('magictime vanishOut').one(animationend, function(){$(this).removeClass('animated vanishOut')});