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

              
                <div class='title'>
  <p>Animated with CSS</p>
   <p class="name">by Vanessa Pitchford Cristobal</p>
</div>
<svg class='container' width="529px" height="286px" viewBox="30 27 529 286" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="graph-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(30.000000, 27.000000)">
        <g id="y_axis" font-size="11.0833333" font-family=".HelveticaNeueDeskInterface-Regular, .Helvetica Neue DeskInterface" fill="#FFFFFF" opacity="0.4" font-weight="normal">
            <text id="0">
                <tspan x="25.3008249" y="264.333333">0</tspan>
            </text>
            <text id="200">
                <tspan x="12.7757572" y="232.666667">200</tspan>
            </text>
            <text id="400">
                <tspan x="12.7757572" y="201">400</tspan>
            </text>
            <text id="600">
                <tspan x="12.7757572" y="169.333333">600</tspan>
            </text>
            <text id="800">
                <tspan x="12.7757572" y="137.666667">800</tspan>
            </text>
            <text id="1000">
                <tspan x="6.51322328" y="106">1000</tspan>
            </text>
            <text id="1200">
                <tspan x="6.51322328" y="74.3333333">1200</tspan>
            </text>
            <text id="1400">
                <tspan x="6.51322328" y="42.6666667">1400</tspan>
            </text>
            <text id="1600">
                <tspan x="6.51322328" y="11">1600</tspan>
            </text>
        </g>
        <g id="GRAPHS" transform="translate(64.000000, 16.000000)" stroke-linecap="round" stroke-width="8" stroke-linejoin="round">
            <polyline id="Banks" stroke="#5BCAC1" points="0 1 88.0438662 1 128.985782 137 180.170616 137 224.189573 182 256.947867 91 301.990521 137 346.009479 91 392.087202 91 429.952607 179"></polyline>
            <polyline id="Bridge" stroke="#81DEFF" points="2.04739336 183 54.2559242 227 96.2274882 47 133.080569 1 302.018438 1 346.680361 44.6280822 386.957346 0 427.905213 43"></polyline>
            <polyline id="PayPal" stroke="#F6F5A6" points="2.04739336 180 53.273159 180 99.2985782 91 137.175355 47 219.077488 47 256.947867 90 301.990521 47 349.080569 137 398.228672 137 432 91"></polyline>
        </g>
        <g id="x_axis" transform="translate(71.974046, 271.541667)" font-size="11.0833333" font-family=".HelveticaNeueDeskInterface-Regular, .Helvetica Neue DeskInterface" fill="#FFFFFF" opacity="0.4" font-weight="normal">
            <text id="1">
                <tspan x="0.396183206" y="11">1</tspan>
            </text>
            <text id="2">
                <tspan x="39.2603361" y="11">2</tspan>
            </text>
            <text id="3">
                <tspan x="78.8786567" y="11">3</tspan>
            </text>
            <text id="4">
                <tspan x="118.496977" y="11">4</tspan>
            </text>
            <text id="5">
                <tspan x="158.115298" y="11">5</tspan>
            </text>
            <text id="6">
                <tspan x="197.733619" y="11">6</tspan>
            </text>
            <text id="7">
                <tspan x="237.351939" y="11">7</tspan>
            </text>
            <text id="8">
                <tspan x="276.97026" y="11">8</tspan>
            </text>
            <text id="9">
                <tspan x="316.58858" y="11">9</tspan>
            </text>
            <text id="10">
                <tspan x="359.229833" y="11">10</tspan>
            </text>
            <text id="11">
                <tspan x="400.036703" y="11">11</tspan>
            </text>
            <text id="12">
                <tspan x="438.466474" y="11">12</tspan>
            </text>
        </g>
        <g id="grid" transform="translate(46.618321, 4.750000)" stroke="#FFFFFF" stroke-linecap="square" opacity="0.0800000057">
            <path d="M0.396183206,1.1875 L478.991396,1.1875" id="Line"></path>
            <path d="M0.396183206,32.8541667 L478.991396,32.8541667" id="Line"></path>
            <path d="M0.396183206,64.5208333 L478.991396,64.5208333" id="Line"></path>
            <path d="M0.396183206,96.1875 L478.991396,96.1875" id="Line"></path>
            <path d="M0.396183206,127.854167 L478.991396,127.854167" id="Line"></path>
            <path d="M0.396183206,159.520833 L478.991396,159.520833" id="Line"></path>
            <path d="M0.396183206,191.1875 L478.991396,191.1875" id="Line"></path>
            <path d="M0.396183206,222.854167 L478.991396,222.854167" id="Line"></path>
            <path d="M0.396183206,254.520833 L478.991396,254.520833" id="Line"></path>
        </g>
    </g>
</svg>
              
            
!

CSS

              
                html {
  height: 100%;
   background: -moz-linear-gradient(-45deg, #de437d 0%, #5b44b9 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #de437d 0%,#5b44b9 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #de437d 0%,#5b44b9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de437d', endColorstr='#5b44b9',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

body {
  font-family: 'open sans', sans-serif;
  font-size: 3rem;
  background-size: cover;
  height: 100%;
}

svg {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding-top: 40px;
}

polyline {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 5s ease-in forwards;
  animation-iteration-count: 10;
  animation-direction: alternate;
}

@keyframes dash{
  to {
    stroke-dashoffset: 0;
  }
}


p {
  font-size: 2rem;
  text-align:center;
  color: #efefef;
}
.name {
  font-size: .8rem;
  font-weight: light;
}

              
            
!

JS

              
                
              
            
!
999px

Console