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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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="header">
  <h1 class="title">Codevember <span class="number"> #29 </span></h1>
  <h2 class="type">Giraffe</h2>
  <div class="social">
    <a href="https://www.linkedin.com/in/rominamartinliberon/" class="social"><img src="http://www.freepngimg.com/thumb/linkedin/3-2-linkedin-download-png-thumb.png" alt="linkedin"></img></a>
		<a href="https://rominamartin.github.io/" class="social"><img src="https://image.flaticon.com/icons/svg/25/25231.svg" alt="github"></img></a>
		<a href="https://twitter.com/rominamartinlib" class="social"><img src="https://i.imgsafe.org/43/431dd07874.png" alt="twitter"></img></a>
  </div>
</div>

<div id="container" class="content">
	<svg id="giraffe" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="50%" viewBox="0 0 513.18 529.47">
		<path fill="#CA9B76" stroke="#B38555" stroke-miterlimit="10" d="M318.85,12.24l14.35,25.15l-36.74-13.95L318.85,12.24z
			 M296.46,23.44l-9.7,58.03l46.44-44.08L296.46,23.44z M286.76,81.46l47.02,20.39l-0.58-64.46L286.76,81.46z M286.76,81.46
			l-31.12,16.58l39.69,50.08L286.76,81.46z M295.33,148.12l38.44-46.27l-47.02-20.39L295.33,148.12z M255.64,98.04v89.79l39.69-39.71
			L255.64,98.04z M255.64,187.83l36.04,25.87l3.65-65.58L255.64,187.83z M295.33,148.12l48.42-3.5l-9.98-42.77L295.33,148.12z
			 M255.64,187.83v55.63l36.04-29.76L255.64,187.83z M295.33,148.12l57.73,32.79l-9.31-36.29L295.33,148.12z M295.33,271.74
			l36.95-25.5l-40.6-32.54L295.33,271.74z M291.68,213.7l-36.04,29.76l39.69,28.28L291.68,213.7z M295.33,148.12l52.84,78.59
			l7.08-10.05l-2.19-35.75L295.33,148.12z M295.33,148.12l-3.65,65.58l40.6,32.54l15.89-19.53L295.33,148.12z M255.64,243.46v107.42
			l39.69-79.15L255.64,243.46z M255.64,350.89l41.64,0.88l-1.94-80.02L255.64,350.89z M297.28,351.76l36.66-45.27l-38.61-34.75
			L297.28,351.76z M295.33,271.74l38.61,34.75l-1.66-60.25L295.33,271.74z M255.64,350.89l11.63,28.63l30.01-27.75L255.64,350.89z
			 M255.64,350.89l0.88,37.44l10.75-8.81L255.64,350.89z M297.28,351.76l-30.01,27.75h30.01V351.76z M256.52,421.39l16.17-0.42
			l-16.17-32.64V421.39z M262.46,400.9l10.22,20.08l24.59-41.46L262.46,400.9z M267.27,379.52l-10.75,8.81l5.94,12.57l34.82-21.38
			H267.27z M272.69,420.98l22.65-11.84l1.94-29.62L272.69,420.98z M295.33,409.14 M295.33,409.14l-0.25,0.13l-22.39,11.71l-16.17,0.42
			l-0.88,46.15L295.33,409.14z M255.64,467.54v45.71h29.39L255.64,467.54z M285.03,513.25l33.72-56.05l-63.11,10.34L285.03,513.25z
			 M255.64,467.54l63.11-10.34l-2.3-18.86l-21.12-29.2L255.64,467.54z M316.46,438.34l7.99-50.01l-29.12,20.81L316.46,438.34z
			 M295.33,409.14l29.12-20.81l-27.17-36.57L295.33,409.14z M324.45,388.33l9.49-81.84l-36.66,45.27L324.45,388.33z M353.12,181.83
			l28.24,23.6l-0.93-106.37l-36.68,45.57L353.12,181.83z M484.94,112.92l0.93-39.99L380.44,99.05L484.94,112.92z M380.44,99.05
			l36.39,106.25l68.11-92.38L380.44,99.05z M380.44,99.05l0.93,106.37h36.39L380.44,99.05z M353.12,181.83l2.13,34.83l26.11-11.24
			L353.12,181.83z M355.25,216.66l25.18,6.63l0.93-17.86L355.25,216.66z M355.25,216.66l15.51,31.82l3.02-18.87l6.65-6.32
			L355.25,216.66z M355.25,216.66l-7.08,41.7l11.79,9l10.79-18.88L355.25,216.66z M355.25,216.66l-22.97,29.58l15.89,12.12
			L355.25,216.66z M332.28,246.24l1.66,60.25l26.03-39.14L332.28,246.24z M193.26,12.17l-14.35,25.15l36.74-13.95L193.26,12.17z
			 M178.91,37.32l46.44,44.08l-9.7-58.03L178.91,37.32z M178.91,37.32l-0.58,64.46l47.02-20.39L178.91,37.32z M216.78,148.05
			l39.69-50.08l-31.12-16.58L216.78,148.05z M225.36,81.39l-47.02,20.39l38.44,46.27L225.36,81.39z M216.78,148.05l39.69,39.71V97.97
			L216.78,148.05z M216.78,148.05l3.65,65.58l36.04-25.87L216.78,148.05z M178.34,101.78l-9.98,42.77l48.42,3.51L178.34,101.78z
			 M220.44,213.63l36.04,29.76v-55.63L220.44,213.63z M168.36,144.55l-9.31,36.29l57.73-32.79L168.36,144.55z M220.44,213.63
			l-40.6,32.54l36.95,25.5L220.44,213.63z M216.78,271.67l39.69-28.28l-36.04-29.76L216.78,271.67z M159.05,180.84l-2.19,35.75
			l7.08,10.05l52.84-78.59L159.05,180.84z M163.94,226.65l15.89,19.53l40.6-32.54l-3.65-65.58L163.94,226.65z M216.78,271.67
			l39.69,79.15V243.4L216.78,271.67z M216.78,271.67l-1.94,80.02l41.64-0.88L216.78,271.67z M216.78,271.67l-38.61,34.75l36.66,45.27
			L216.78,271.67z M179.84,246.17l-1.66,60.25l38.61-34.75L179.84,246.17z M214.84,351.7l30.01,27.75l11.63-28.63L214.84,351.7z
			 M244.84,379.45l10.75,8.81l0.88-37.44L244.84,379.45z M214.84,379.45h30.01l-30.01-27.75V379.45z M255.6,388.26l-16.17,32.64
			l16.17,0.42V388.26z M214.84,379.45l24.59,41.46l10.22-20.08L214.84,379.45z M214.84,379.45l34.82,21.38l5.94-12.57l-10.75-8.81
			H214.84z M214.84,379.45l1.94,29.62l22.65,11.84L214.84,379.45z M216.78,409.07 M256.48,467.47l-0.88-46.15l-16.17-0.42l-22.39-11.7
			l-0.25-0.13L256.48,467.47z M227.09,513.18h29.39v-45.71L227.09,513.18z M256.48,467.47l-63.11-10.34l33.72,56.05L256.48,467.47z
			 M216.78,409.07l-21.12,29.2l-2.3,18.86l63.11,10.34L216.78,409.07z M216.78,409.07l-29.12-20.81l7.99,50.01L216.78,409.07z
			 M214.84,351.7l-27.17,36.57l29.12,20.81L214.84,351.7z M214.84,351.7l-36.66-45.27l9.49,81.84L214.84,351.7z M168.36,144.55
			l-36.68-45.57l-0.93,106.37l28.25-23.6L168.36,144.55z M131.68,98.98L26.25,72.86l0.93,39.99L131.68,98.98z M27.18,112.85
			l68.11,92.38l36.4-106.25L27.18,112.85z M94.35,205.35h36.4l0.93-106.37L94.35,205.35z M130.75,205.35l26.11,11.24l2.13-34.83
			L130.75,205.35z M130.75,205.35l0.93,17.86l25.18-6.63L130.75,205.35z M131.68,223.22l6.65,6.32l3.02,18.87l15.51-31.82
			L131.68,223.22z M141.35,248.41l10.79,18.88l11.8-9l-7.08-41.7L141.35,248.41z M163.94,258.29l15.89-12.12l-22.98-29.58
			L163.94,258.29z M152.15,267.29l26.03,39.14l1.66-60.25L152.15,267.29z"/>
	</svg>
</div>
              
            
!

CSS

              
                html, body {
  margin:0;
  width: 100%;
  height: 100%;
  background-image: url(https://raw.githubusercontent.com/RominaMartin/DressItUp/master/images/svgBackground.png);
  font-family: "Quicksand";
  position: absolute;
  overflow: hidden;
}

.header { position: absolute; z-index: 1;}
.header h1, h2 { margin: 0; }
.header h1 { color: #5B4332; }
.number {color: #fff}
.type { color: #ca9b76; text-shadow: 1px 2px 2px rgba(255, 255, 255, .4) }
.social a img { height: 1.5em; }

.content {
  text-align: center;
  width: 100%;
}

svg {
  max-width: 500px;
  margin-top: 50px;
}

#giraffe path {
  stroke-dasharray: 350;
  stroke-dashoffset: 100;
  animation: line 5s linear alternate infinite;
}


@keyframes line {
  to {stroke-dashoffset: 1000; stroke:#333;}
}
              
            
!

JS

              
                
              
            
!
999px

Console