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 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

Packages

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.

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

              
                <svg class="logo animated tada" width="330" height="104" viewBox="0 0 430 104" xmlns="http://www.w3.org/2000/svg"><title>logo</title><desc>Created with Sketch.</desc><g fill="#000"><g><path d="M23.48 30.624V52.28c0 2.7.398 4.5 1.212 5.42.813.914 2.717 1.364 5.73 1.364 1.385 0 2.994-.068 4.812-.19v11.2c-4.38.746-7.548 1.108-9.468 1.108-6.302 0-10.75-1.195-13.4-3.617C9.737 65.14 8.42 60.778 8.42 54.46V30.624H.302v-11.77H9.27L10.497 3.74 23.48 2.72v16.133h11.044v11.77H23.48zM79.238 47H46.26c-.034.917-.052 1.714-.052 2.39 0 3.653.988 6.403 2.926 8.256 1.94 1.87 4.26 2.787 6.976 2.787 5.037 0 8.05-2.683 9.07-8.05l13.693 1.006c-3.824 11.84-11.58 17.76-23.28 17.76-5.108 0-9.437-1.04-13.002-3.083-3.565-2.043-6.508-5.02-8.828-8.948-2.32-3.914-3.48-8.623-3.48-14.093 0-8.153 2.337-14.73 6.978-19.734 4.656-5.002 10.628-7.512 17.933-7.512 6.595 0 12.24 2.337 16.964 6.977 4.708 4.655 7.08 12.063 7.08 22.243zm-33.03-9.777h18.21c-.467-7.028-3.357-10.542-8.67-10.542-5.68 0-8.864 3.515-9.54 10.543zM124.538 50.86c-.57 6.04-2.96 10.94-7.183 14.68-4.207 3.74-9.642 5.608-16.307 5.608-7.22 0-13.12-2.407-17.673-7.184-4.535-4.778-6.82-11.183-6.82-19.198 0-8.014 2.336-14.506 6.976-19.49 4.658-4.986 10.872-7.497 18.645-7.497 6.25 0 11.442 1.885 15.543 5.642 4.104 3.74 6.388 8.45 6.82 14.092l-14.106.813c-.467-6.145-3.132-9.227-7.998-9.227-5.99 0-8.983 4.898-8.983 14.696 0 6.527.832 10.682 2.51 12.43 1.68 1.765 3.706 2.648 6.11 2.648 4.674 0 7.462-2.96 8.362-8.88l14.106.867zM171.328 87.367V18.853h13.9v7.513c2.58-5.712 7.064-8.586 13.485-8.586 5.557 0 10.092 2.234 13.623 6.68 3.532 4.45 5.295 10.907 5.295 19.39 0 9.036-1.78 15.838-5.346 20.428-3.566 4.567-8.205 6.87-13.917 6.87-5.782 0-9.902-2.25-12.378-6.75v22.97h-14.662zm14.66-40.71c0 3.618.227 6.128.66 7.513.45 1.385 1.367 2.633 2.786 3.72 1.42 1.093 2.96 1.647 4.623 1.647 2.06 0 3.895-1.057 5.52-3.17 1.628-2.11 2.44-6.767 2.44-13.968 0-10.11-2.664-15.166-8.012-15.166-2.025 0-3.877.9-5.522 2.685-1.662 1.8-2.494 4.846-2.494 9.14v7.598zM262.83 70.074h-14.644c-.484-2.024-.71-4.69-.71-8.014-2.58 3.652-5.14 6.076-7.686 7.287-2.562 1.195-5.453 1.8-8.708 1.8-4.793 0-8.672-1.315-11.633-3.91-2.96-2.598-4.433-6.112-4.433-10.51 0-3.2.85-6.16 2.58-8.862 1.73-2.7 4.5-4.83 8.326-6.37 3.81-1.54 10.785-2.683 20.894-3.428v-2.94c0-4.97-2.493-7.445-7.46-7.445-5.316 0-8.275 2.476-8.88 7.444L216.54 33.81c.9-5.817 3.652-9.938 8.258-12.377 4.604-2.424 9.797-3.653 15.613-3.653 3.5 0 6.77.416 9.852 1.23 3.08.812 5.47 2.024 7.2 3.652 1.715 1.61 2.892 3.34 3.497 5.142.604 1.816.917 4.966.917 9.45v23.23c.002 4.467.314 7.67.954 9.59zM246.82 43.527c-10.595 1.057-15.872 4.243-15.872 9.59 0 1.783.553 3.342 1.66 4.64 1.125 1.3 2.7 1.956 4.777 1.956 2.666 0 4.898-1.106 6.717-3.322 1.8-2.216 2.718-4.95 2.718-8.188v-4.675zM310.122 50.86c-.57 6.04-2.96 10.94-7.185 14.68-4.205 3.74-9.642 5.608-16.307 5.608-7.218 0-13.12-2.407-17.673-7.184-4.535-4.778-6.82-11.183-6.82-19.198 0-8.014 2.337-14.506 6.977-19.49 4.657-4.986 10.87-7.497 18.645-7.497 6.246 0 11.44 1.885 15.542 5.642 4.104 3.74 6.387 8.45 6.82 14.092l-14.107.813c-.467-6.145-3.133-9.227-7.997-9.227-5.99 0-8.983 4.898-8.983 14.696 0 6.527.83 10.682 2.508 12.43 1.68 1.765 3.706 2.648 6.11 2.648 4.675 0 7.46-2.96 8.362-8.88l14.107.867zM343.497 36.197l16.688 33.877h-16.688L332.8 46.844l-8.863 10.144v13.086h-14.265V.85h14.265v41.476l2.23-2.788c.937-1.28 1.733-2.302 2.373-3.08l14.957-17.606h14.713l-14.713 17.345zM401.556 47H368.58c-.035.917-.054 1.714-.054 2.39 0 3.653.987 6.403 2.927 8.256 1.938 1.87 4.26 2.787 6.976 2.787 5.035 0 8.048-2.683 9.068-8.05l13.692 1.006c-3.823 11.84-11.58 17.76-23.28 17.76-5.107 0-9.436-1.04-13-3.083-3.566-2.043-6.51-5.02-8.83-8.948-2.318-3.914-3.48-8.623-3.48-14.093 0-8.153 2.34-14.73 6.98-19.734 4.655-5.002 10.627-7.512 17.933-7.512 6.596 0 12.237 2.337 16.965 6.977 4.705 4.655 7.078 12.063 7.078 22.243zm-33.03-9.777h18.21c-.466-7.028-3.357-10.542-8.67-10.542-5.677 0-8.863 3.515-9.54 10.543zM416.477 70.074h-14.66v-51.22h13.847v9.537c2.13-7.095 5.815-10.644 11.062-10.644.746 0 1.663.034 2.735.138v14.922c-3.08 0-5.47.467-7.183 1.42-1.696.933-3.098 2.647-4.17 5.087-1.094 2.46-1.63 5.765-1.63 9.92v20.84zM124.088.85h14.66v24.996c2.93-6.756 11.186-9.158 18.436-7.55 8 2.098 11.196 6.865 10.925 21.526v30.252h-16.055c1.18-.258 2.018-1.09 2.376-2.64v-4.51c0-6.224-1.43-5.308-2.596-9.89-.356-1.4-.01-2.702 1-6.36l2.13-7.722c1.287-4.646-1.52-3.945-6.165-6.18v-.968h-5.104v.968l-.097.047-.1.044-.02.01-.076.035-.096.043-.043.02-.052.024-.094.042-.065.027-.032.014-.093.042-.082.036-.012.005-.09.04-.092.038-.01.006-.084.033-.09.037-.03.013-.06.024-.09.036-.05.02-.04.016-.088.034-.067.027-.02.01-.086.033-.088.033-.087.034-.084.032-.02.006-.064.024-.084.033-.038.013-.044.018-.084.03-.055.02-.025.01-.083.03-.07.027-.01.004-.08.028-.078.03-.01.002-.07.025-.077.028-.026.01-.05.017-.075.027-.044.015-.105.04-.058.02-.017.007-.073.027-.073.027-.07.026-.073.027-.014.005-.055.02-.07.025-.03.01-.04.016-.068.026-.132.05-.06.022-.007.004-.064.024-.067.026-.007.002-.242.1-.034.013-.027.012-.177.077-.056.025-.057.026-.11.053-.054.026c-1.4.7-1.934 1.64-1.22 4.19l1.22 4.41.915 3.312c1.01 3.66 1.355 4.96 1 6.362l-.03.12-.025.092-.006.025-.032.115-.017.062-.014.05-.03.11-.01.035-.02.07-.03.105-.006.012-.027.092-.03.09-.002.01-.03.1-.024.066-.008.03-.032.095-.015.043-.017.05-.032.09-.007.024-.025.066-.03.087h-.002l-.03.087-.026.066-.006.016-.03.082-.02.05-.014.032-.032.08-.012.027-.02.05-.032.076-.005.012-.027.064-.062.146-.02.05-.012.02-.03.073-.016.03-.017.038-.03.067-.008.02-.023.048-.03.066-.004.003-.03.062-.025.052-.003.012-.03.062-.02.04-.01.022-.03.064-.013.023-.02.037-.03.06-.005.01-.025.052-.03.056v.003l-.03.06-.02.043-.01.015-.028.062-.017.03-.014.028-.03.06-.008.014-.02.04-.03.06v.004l-.026.054-.024.05-.005.008-.027.058-.018.037-.01.02-.028.06-.012.023-.015.033-.027.06-.005.01-.022.05-.024.056-.002.002-.026.06-.02.045-.006.015-.026.06-.015.032-.012.03-.026.06-.007.02-.017.043-.024.062c-.406 1.05-.682 2.405-.682 5.133v4.51c.15.64.38 1.16.682 1.564l.017.024.004.003.02.025.083.102.023.026.014.017.006.008.022.022.01.01.01.015.024.022.003.004.02.022.017.018.004.003.024.022.052.05.02.017.02.02.04.036.01.006.024.02.008.01.017.01.024.02.024.02.018.015.006.004.05.036.026.02.004.002.02.016.024.017h.004l.024.017.017.012.01.007.027.016.01.007.017.01.028.017.028.015.018.013.01.004.026.016.012.006.015.008.03.014.002.003.023.012.024.012.005.002.027.014.016.007.014.005.027.012.008.005.02.01.03.01.03.014.02.007.01.006.03.01.01.006.02.006.03.01.003.002.027.01.024.01h.039l.013.004.017.004.032.012h.004l.026.008.027.007.004.002.032.007.02.007.01.002.033.01.008.003.024.005.032.006H124.09V.85h-.002zm19.61 28.04v1.24h5.103v-1.24H146.872v-.945l.023-.012.006-.004.017-.01.016-.007.01-.005.022-.01.023-.013.01-.005.013-.008.018-.01.006-.003.02-.016h.004l.02-.013.01-.007.012-.008.02-.012.003-.002.02-.015.005-.003.017-.013.01-.01.01-.007.02-.014v-.002l.02-.017.007-.004.015-.012.01-.012.01-.006.02-.02.018-.017.007-.008.01-.012.015-.013.005-.005.02-.02v-.002l.017-.017.007-.01.01-.01.014-.017.002-.004.017-.02.002-.005.014-.017.01-.012.005-.01.015-.02.018-.022.003-.006.01-.016.01-.015.003-.008.015-.022.014-.023.003-.01.01-.014.006-.017.004-.006.012-.023v-.007l.012-.02.004-.013.006-.012.01-.02v-.005l.012-.024v-.004l.01-.02.004-.014.005-.01.008-.024v-.002l.01-.024.002-.007.006-.018.004-.018.003-.008.007-.026.006-.026.003-.01.003-.016.005-.02v-.007l.007-.026v-.004l.006-.024.002-.012.003-.015.003-.023v-.005l.005-.026v-.007l.003-.023.003-.015v-.04l.003-.028v-.084c0-.827-.67-1.5-1.498-1.5-.827 0-1.5.673-1.5 1.5v.038l.002.018v.056l.002.002v.038l.004.015v.026l.005.028v.005l.003.022.002.014.003.012.004.024v.002l.006.027v.007l.005.018.004.017.003.01.006.025.01.027v.01l.004.015.008.02v.005l.012.026v.003l.007.022.005.012.006.014.008.02.003.005.01.024v.004l.01.02.006.012.006.012.01.02.002.003.012.024.003.006.008.017.007.015.006.01.015.02.014.024.003.007.01.015.01.016.004.006.015.02v.003l.015.02.007.01.008.012.014.017.003.004.016.02.003.005.013.016.01.012.008.01.016.017v.002l.02.02.004.005.014.013.01.012.01.007.017.018.02.02.008.005.012.01.015.015.005.005.02.016v.002l.02.014.01.007.012.008.017.013.003.003.02.017.005.002.017.01.012.01.01.007.02.012.024.015.007.003.017.01.014.008.007.005.024.013.023.01.01.006.013.007.018.008.005.004.023.01v.947H143.697v.004z"/><path d="M145 72h2.56v8.818H145z"/></g><text font-family="Avenir Next" font-size="24" transform="translate(0 1)"><tspan x="371" y="103">BETA</tspan></text></g></svg>
              
            
!

CSS

              
                @charset "UTF-8";
.logo {
  postion: relative;
  width: 200px ;
  length: 50%;
  margin: 0 auto;
}


.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated:hover {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}


 

@-webkit-keyframes tada {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%, 20% {
    -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%, 20% {
    -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.tada {
  -webkit-animation-name: tada;
  animation-name: tada;
}


              
            
!

JS

              
                
              
            
!
999px

Console