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.


                <!-- all svg coordinates was taking as is from codrops demo -->
<svg viewBox="0 0 200 200" preserveAspectRatio="xMidYMid meet">
  <path class="jumper" stroke-linecap="round" stroke-linejoin="round" d="M47.5,94.3c0-23.5,19.9-42.5,44.5-42.5s44.5,19,44.5,42.5"/>
  <g stroke="#2d2d2d" stroke-width="1">
    <ellipse class="circleL" fill="none" stroke-miterlimit="10" cx="47.2" cy="95.6" rx="10.7" ry="2.7" />
    <ellipse class="circleR" fill="none" stroke-miterlimit="10" cx="136.2" cy="95.6" rx="10.7" ry="2.7" />
  <path class="jumper clone" stroke-linecap="round" stroke-linejoin="round" d="M47.5,94.3c0-23.5,19.9-42.5,44.5-42.5s44.5,19,44.5,42.5"/>
<a href="" target="_blank" class="check-out">Infinity loader</a>


                @import "compass/css3";

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
html, body {
  font-size: 62.5%;
  height: 100%;
  overflow: hidden;
body {
  background: #7981B2;
svg {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40rem;
  height: 40rem;
  margin-left: -20rem;
  margin-top: -20rem;
  overflow: visible;
// path.getTotalLength() wiill give you path length
$len: 136.71884155273438px;
$time: 1.3s;

.jumper {
  fill: none;
  stroke: rgb(56,56,69);
  stroke-width: 10px;
  stroke-dashoffset: 0;
  stroke-dasharray: 0, $len;
  animation: animJumper $time linear infinite;
  &.clone {
    opacity: 0.05;
    // transform-origin for svg bugged in ff, so i'm using translateY hack
    transform: translateY(200px) scaleY(-1);
.circleL {
  opacity: 0;
  transform-origin: 47.2px 95.6px;
  animation: animCircle $time infinite;
.circleR {
  opacity: 0;
  transform-origin: 136.2px 95.6px;
  animation: animCircle $time $time*0.56 infinite;

@keyframes animJumper {
  8% {
    stroke-dasharray: $len*0.15, $len;
  32% {
    stroke-dasharray: $len*0.3, $len;
    stroke-dashoffset: $len*-0.35;
  56% {
    stroke-dasharray: $len*0.15, $len;
    stroke-dashoffset: $len*-0.85;
  64% {
    stroke-dasharray: 0, $len;
    stroke-dashoffset: -$len;

@keyframes animCircle {
  0% {
    opacity: 1;
  50% {
    transform: scale(3);
    opacity: 0;
  100% {
    opacity: 0;

.check-out {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;


                // not today