cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

              @keyframes pulse {
  from {
    height: 30vh;
    width: 30vh;

  25% {
    background-color: #FCB100;
    border: 14vh solid #495057;
    box-shadow: 0 0 0 10vh #FCB100;
    height: 70vh;
    width: 70vh;

  50% {
    height: 30vh;
    width: 30vh;

  75% {
    background-color: #F96700;
    border: 4vh solid #495057;
    box-shadow: 0 0 0 0.25vh #F96700;
    height: 60vh;
    width: 60vh;

body {
  background-color: #495057;

.thingamabob {
  /* Horizintally and vertically centers */
  position: absolute;
   top: 50%;
   left: 50%;
  transform: translate(-50%, -50%);
  /* Resting size is fully styled, but without size animated */
  background-color: #DB4700;
  border-radius: 70vh;
  height: 10vh;
  border: 0.25vh solid #495057;
  box-shadow: 0 0 0 0.25vh #DB4700;
  width: 10vh;

  /* Animation Settings */
  animation-duration: 1.75s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-name: pulse;

@media (prefers-reduced-motion: reduce) {
  .thingamabob {
    /* Stop the animation */
    animation: none;
    /* Provide alternate styling */
    background-color: #47ACFA;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 30vh;
    width: 30vh;

Loading ..................