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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <div class="container">

	<svg class="home-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1057 289">
		<defs>
			<mask id="b">
				<path fill="#fff" d="M31 153.5h447v105.2H31z"/>
			</mask>
			<mask id="a">
				<path fill="#fff" d="M494.5 31.4h473v105.2h-473z"/>
			</mask>
		</defs>
		<path class="stage" fill="none" d="M0 0h1057v289H0z"/>
		<g class="home-logo__tm" fill="#fff">
			<path d="M1006.16 19.8v11.88h-6.98V19.8h-6.55v-5.13h20.09v5.13h-6.56zM1015.76 14.67h9.98l4.18 8.98 4.18-8.98h9.55v17.01h-6.22V20.14l-5.42 11.54h-4.66l-5.41-11.54v11.54h-6.18V14.67z"/>
		</g>
		<g class="home-logo__girls" fill="#fff" mask="url(#a)">
			<path class="home-logo__girls-letter logo__girls-s" d="M901.27 122.39c-38.81 0-43.29-16.7-43.29-26.44v-1.09h24.18c.3 4.47 2.89 11.73 22 11.73h1.4c19.5 0 21.69-3.88 21.69-7.85 0-4.28-2.29-7-19.4-7.46l-12.74-.3c-27.67-.79-36.13-10.13-36.13-21.67v-.89c0-11 6.57-22.56 40.31-22.56h6.87c35 0 43 12.22 43 23.36v1h-24.11c-.5-2.78-2-8.85-21.39-8.85h-1.6c-17.91 0-19.2 3.18-19.2 6.36s2 6.07 17.11 6.37l12.44.19c27.87.5 39.11 7.26 39.11 22v1.39c0 12.23-6.17 24.75-43.39 24.75z"/>
			<path class="home-logo__girls-letter home-logo__girls-l" d="M797.48 47.27v55.38h51.29v18.32h-74.41v-73.7h23.12z"/>
			<path class="home-logo__girls-letter home-logo__girls-r" d="M758.49 67.58v-1.19c0-10.6-7.46-19.12-32.14-19.12h-59.71v73.71h23.19V94.82h30.25c11.44 0 15.42 4 15.42 13v8.52c0 2.67.4 3.76 1.1 4.66h23.56v-.5c-.69-1.19-1.39-3.07-1.39-9v-10.83c0-9.51-6.47-14.76-14-16.94 4.87-1.59 13.72-5.55 13.72-16.15zm-24.18 3.67c0 4.06-2.69 7.23-9.35 7.23h-35.13V64.07h35.13c6.76 0 9.35 3.26 9.35 7.13z"/>
			<path class="home-logo__girls-letter home-logo__girls-i" d="M626.96 47.27h23.39v73.7h-23.39z"/>
			<path class="home-logo__girls-letter home-logo__girls-g" d="M560.34 78.48v15.59h28.35c-.38 2.38-7.16 10.33-28.11 10.33-20 0-27.44-10.24-27.44-19.88v-1.09c0-10.24 5.47-20 27.64-20 16.17 0 22.14 4.5 24.45 7.7h25.38c-1.59-10.25-10.73-25.29-47.88-25.29h-4.2c-41.79 0-49.21 22.16-49.21 36.58v2.78c0 14.81 9.08 37.17 48.43 37.17h2c20.62 0 30.2-7.7 34.06-11.81a57.49 57.49 0 0 1 2.59 10.51h15V78.48z"/>
		</g>
		<path class="home-logo__girls-border" d="M485.96 94.07V23.18h489.58v121.89H536.96" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="17"/>
		<g class="home-logo__plus" fill="none" stroke="#f03296" stroke-miterlimit="10" stroke-width="17">
			<path class="home-logo__plus-horz" d="M447.67 145.15h76.53"/>
			<path class="home-logo__plus-vert" d="M485.93 106.8v76.53"/>
		</g>
		<g class="home-logo__boys" fill="#fff" mask="url(#b)">
			<path class="home-logo__boys-letter home-logo__boys-b" d="M134.84 201.76c3.58-1.09 11.72-4.76 11.72-14.37V186c0-8.71-5.86-16.84-27-16.84H50.1v73.71h70c23.94 0 30.59-9.61 30.59-21.2v-1.39c.04-12.98-10.78-17.21-15.85-18.52zm-61.59-17h42.33c6.45 0 8 2.77 8 5.84v.2c0 3-1.59 5.94-8 5.94H73.25zm53.45 34.87c0 3-1.49 7.23-9.14 7.23H73.25v-14.51h44.31c7.65 0 9.14 3.67 9.14 6.84z"/>
			<path class="home-logo__boys-letter home-logo__boys-o" d="M217.41 167.75h-4.25c-46.85 0-52.12 23.36-52.12 36.58v3c0 13 5.27 37 52.12 37h4.28c46.65 0 52-24 52-37v-3c0-13.26-5.48-36.58-52.03-36.58zm27.75 38.66c0 8.55-5.07 19.88-29.94 19.88-25.06 0-29.94-11.63-29.94-20.08v-1.14c0-8.45 4.48-19.38 29.94-19.38 25.07-.05 29.94 10.88 29.94 19.38z"/>
			<path class="home-logo__boys-letter home-logo__boys-y" d="M306.07 214.33l-39.62-45.17h28.77l23 27.14 23.39-27.14h26.18l-38.52 45.17v28.53h-23.2v-28.53z"/>
			<path class="home-logo__boys-letter home-logo__boys-s" d="M412.29 244.28c-38.81 0-43.29-16.7-43.29-26.44v-1.09h24.16c.3 4.47 2.89 11.73 22 11.73h1.39c19.51 0 21.69-3.88 21.69-7.85 0-4.28-2.28-7-19.4-7.46l-12.68-.3c-27.66-.79-36.12-10.14-36.12-21.67v-.89c0-11 6.57-22.56 40.3-22.56h6.82c35 0 43 12.22 43 23.36v1h-24.08c-.5-2.78-2-8.85-21.4-8.85h-1.59c-17.92 0-19.21 3.18-19.21 6.36s2 6.07 17.12 6.37l12.44.19c27.86.5 39.11 7.26 39.11 22v1.39c0 12.23-6.17 24.75-43.39 24.75z"/>
		</g>
		<path class="home-logo__boys-border" d="M485.93 196.07v71H23.16V145.15h411.75" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="17"/>
	</svg>

</div>

<div class="me">
	<a class="me__link portfolio" href="http://www.petebarr.com" target='_blank'>Petebarr.com<span></span></a>

</div>
<a class="twitter" href="https://twitter.com/petebarr" target='_blank'>
	<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
		<path fill="#fff" d="M39.19 15.39a10.63 10.63 0 0 1-3.38 1.29 5.31 5.31 0 0 0-9.19 3.63 5.43 5.43 0 0 0 .14 1.22A15.11 15.11 0 0 1 15.8 16a5.39 5.39 0 0 0-.72 2.68 5.32 5.32 0 0 0 2.37 4.42 5.33 5.33 0 0 1-2.45-.7v.07a5.31 5.31 0 0 0 4.27 5.21 5.45 5.45 0 0 1-1.41.19 4.78 4.78 0 0 1-1-.1 5.32 5.32 0 0 0 5 3.69 10.64 10.64 0 0 1-6.6 2.28c-.43 0-.85 0-1.27-.07a15.13 15.13 0 0 0 23.28-12.74v-.69a10.87 10.87 0 0 0 2.66-2.75 10.84 10.84 0 0 1-3.06.84 5.35 5.35 0 0 0 2.34-2.94"></path>
<!-- 		<path fill="#fff" d="M26 5A21 21 0 1 1 5 26 21 21 0 0 1 26 5m0-4a25 25 0 1 0 25 25A25 25 0 0 0 26 1z"></path> -->
	</svg>
</a>
            
          
!

CSS

            
              body {
	background: linear-gradient(135deg, #F03694 0%, #00B4FB 100%);
}

body,
html {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}


.home-logo {
	width: 400px;
	height: auto;
	will-change: transform;
	visibility: hidden;
}

.stage {
	display: none;
}



.me {
	position: fixed;
	z-index: 1000;
	top: 24px;
	left: 24px;
	display: flex;
	flex-direction: column;
}

.me__link {
	position: relative;
	margin-bottom: 16px;
	color: white;
	font-family: Helvetica, sans-serif;
	text-decoration: none;
	font-size: 16px;

	span {
		display: block;
		position: absolute;
		bottom: -3px;
		left: 0;
		height: 1px;
		width: 5%;
		background-color: white;
		content: "";
		transition: width 0.3s;
	}

	&:hover span{
		width: 100%;
	}
}

.twitter {
	position: fixed;
	top: 16px;
	right: 24px;
	display: block;
	width: 40px;
	height: 40px;
}
            
          
!

JS

            
              TweenMax.set('svg', {
	visibility: 'visible'
});

tl = new TimelineMax( { repeat: -1, repeatDelay: 3 } );

tl.set('.home-logo__tm', { opacity: 0 })
		.set('.home-logo__plus-horz', { opacity: 0 })
		.from('.home-logo__plus-vert', 0.5, { scaleY: 0, ease: Power4.easeIn, transformOrigin: "center center" })
		.set('.home-logo__plus-horz', { opacity: 1, immediateRender: false  })
		.from('.home-logo__boys-border', 1.0, { drawSVG: '0% 0%', ease: Power4.easeOut}, 0.5)
		.from('.home-logo__girls-border', 1.0, { drawSVG: '0% 0%', ease: Power4.easeOut}, 0.5)
		.from('.home-logo__plus-horz', 0.5, { rotation: -90, ease: Elastic.easeOut.config(1.0, 0.5), transformOrigin: "center center" }, "-=0.35")
		.staggerFrom('.home-logo__boys-letter', 0.4, { y: 150, ease: Power2.easeOut }, 0.07, "-=0.4")
		.staggerFrom('.home-logo__girls-letter', 0.3, { y: -150, ease: Power2.easeOut }, 0.07, "-=0.59")
		.set('.home-logo__tm', { opacity: 1, immediateRender: false })
		.from('.home-logo__tm', 0.5, { x: -50, ease: Power2.easeOut });
	
tl.timeScale( 0.7 );

/*  ==========================================================================
    Greensock Dev Tools
    ========================================================================== */  

//instantiate GSDevTools with default settings
GSDevTools.create( );
            
          
!
999px

Console