123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

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.

            
              <!--SVG, I nomrally include an svg file using PHP. For this pen I've dropped it inline below -->
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

	<symbol id="icon-behance" viewBox="0 0 64 39.509">
		<title>Behance</title> 
		<desc>Link to Behance</desc>

		<path fill="#FFFFFF" d="M25.66,17.86c1.295-0.662,2.275-1.395,2.94-2.196c1.187-1.429,1.786-3.319,1.786-5.674
		c0-2.282-0.59-4.242-1.77-5.885C26.659,1.438,23.327,0.07,18.63,0H0v38.542h17.37c1.957,0,3.771-0.172,5.445-0.521
		c1.674-0.344,3.125-0.994,4.356-1.936c1.088-0.814,1.998-1.832,2.727-3.029c1.143-1.82,1.717-3.871,1.717-6.148
		c0-2.215-0.497-4.1-1.5-5.652C29.109,19.709,27.627,18.576,25.66,17.86z M7.688,6.696h8.387c1.846,0,3.363,0.2,4.554,0.602
		c1.381,0.576,2.072,1.763,2.072,3.558c0,1.62-0.522,2.75-1.566,3.387c-1.047,0.636-2.402,0.954-4.076,0.954h-9.37V6.696z
		 M20.95,31.171c-0.933,0.459-2.23,0.676-3.901,0.676h-9.36V21.574h9.49c1.652,0.02,2.938,0.234,3.852,0.656
		c1.636,0.75,2.453,2.125,2.453,4.131C23.483,28.728,22.637,30.332,20.95,31.171z M63.744,20.726
		c-0.344-2.233-1.107-4.196-2.271-5.889c-1.299-1.919-2.936-3.326-4.928-4.217s-4.219-1.337-6.701-1.337
		c-4.176,0-7.574,1.317-10.197,3.953c-2.615,2.632-3.92,6.422-3.92,11.355c0,5.27,1.443,9.074,4.34,11.412
		c2.902,2.342,6.25,3.506,10.045,3.506c4.596,0,8.172-1.387,10.725-4.156c1.643-1.744,2.564-3.455,2.762-5.148h-7.605
		c-0.445,0.834-0.955,1.488-1.541,1.961c-1.057,0.865-2.432,1.311-4.137,1.311c-1.598,0-2.967-0.363-4.111-1.076
		c-1.865-1.152-2.859-3.156-2.979-6.014h20.768C64.025,23.929,63.947,22.039,63.744,20.726z M43.414,21.472
		c0.268-1.858,0.93-3.329,1.986-4.414c1.051-1.089,2.533-1.63,4.443-1.63c1.762,0,3.232,0.513,4.416,1.537
		c1.197,1.025,1.859,2.527,1.986,4.506H43.414z"/>
		<path fill="#FFFFFF" d="M38.291,0.313h22.883v3.71H38.291V0.313z"/>
	</symbol>
	
	<symbol id="icon-codepen" viewBox="0 0 63.194 63.086">
		<title>Codepen</title> 
		<desc>Link to Codepen</desc>
		
		<polygon fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" stroke-miterlimit="10" points="31.54,2.5 
		60.694,21.898 31.54,41.078 2.5,21.681 	"/>
		<polygon fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" stroke-miterlimit="10" points="31.54,21.789 
		60.694,41.405 31.54,60.586 2.5,41.188 	"/>
		<line fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" stroke-miterlimit="10" x1="2.5" y1="21.681" x2="2.5" y2="41.188"/>
		<line fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" stroke-miterlimit="10" x1="60.694" y1="21.681" x2="60.694" y2="41.188"/>
		<line fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" stroke-miterlimit="10" x1="31.598" y1="3.809" x2="31.598" y2="23.315"/>
		<line fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round" stroke-miterlimit="10" x1="31.598" y1="41.188" x2="31.598" y2="60.694"/>
	</symbol>
	
	<symbol id="icon-facebook" viewBox="0 0 30.162 64">
		<title>Facebook</title> 
		<desc>Link to Facebook</desc>
		
		<path fill="#FFFFFF" d="M30.113,0.001c0,0-6.156,0-10.239,0c-6.082,0-12.843,2.549-12.843,11.351c0.032,3.065,0,6.001,0,9.306H0
		v11.173h7.251V64h13.321V31.616h8.794l0.796-10.991h-9.821c0,0,0.026-4.893,0-6.31c0-3.476,3.628-3.279,3.84-3.279
		c1.73,0,5.081,0.005,5.942,0V0L30.113,0.001L30.113,0.001z"/>
	</symbol>
	
	<symbol id="icon-googleplus" viewBox="0 0 63.611 64">
		<title>Google Plus</title> 
		<desc>Link to Google Plus</desc>
		
		<path fill="#FFFFFF" d="M34.7,37.618c-1.362-0.586-2.713-0.908-4.061-0.967c-0.937-0.029-2.524-0.117-4.762-0.262
		c-2.241-0.146-4.001-0.235-5.289-0.262c-1.199-0.029-2.362-0.073-3.489-0.135c-1.126-0.057-2.115-0.203-2.962-0.438
		c-0.879-0.206-1.625-0.593-2.24-1.166c-0.615-0.567-0.921-1.396-0.921-2.48c0-1.053,0.365-1.888,1.097-2.499
		c0.732-0.612,1.432-1.039,2.105-1.273h5.311c4.096,0,7.688-1.317,10.775-3.95c3.087-2.634,4.63-5.852,4.63-9.656
		c0-1.462-0.262-2.955-0.789-4.478c-0.525-1.521-1.331-2.911-2.413-4.171V5.619h10.183V1.405h-15.1
		c-1.346-0.409-2.671-0.746-3.973-1.009C21.5,0.135,20.19,0,18.875,0c-4.77,0-8.684,1.317-11.74,3.952
		C4.077,6.586,2.546,9.951,2.546,14.047c0,2.722,0.774,5.115,2.327,7.176c1.55,2.063,3.729,3.753,6.54,5.07v0.658
		c-2.223,0.936-3.883,2.058-4.983,3.357c-1.097,1.303-1.645,2.728-1.645,4.28c0,1.229,0.235,2.259,0.703,3.095
		c0.467,0.836,1.082,1.56,1.843,2.174c0.674,0.526,1.477,0.987,2.414,1.382c0.936,0.394,1.844,0.726,2.721,0.987v0.613
		c-3.629,0.149-6.613,1.083-8.954,2.809C1.171,47.375,0,49.73,0,52.718c0,3.688,1.626,6.485,4.873,8.405
		C8.119,63.042,13.021,64,19.575,64c4.008,0,7.375-0.383,10.098-1.144c2.722-0.762,5.061-1.829,7.022-3.206
		c1.844-1.346,3.217-2.932,4.128-4.762c0.905-1.829,1.361-3.78,1.361-5.858c0-2.079-0.338-3.82-1.009-5.225
		c-0.673-1.404-1.597-2.663-2.767-3.776C37.297,39.008,36.061,38.203,34.7,37.618z M24.516,22.058
		c-1.361,2.034-3.301,3.051-5.815,3.051c-2.253,0-4.089-1.023-5.509-3.073c-1.42-2.047-2.127-4.695-2.127-7.945
		c0-1.432,0.125-2.83,0.372-4.191s0.664-2.524,1.251-3.489c0.615-1.053,1.413-1.865,2.392-2.436
		c0.979-0.571,2.157-0.857,3.533-0.857c2.514,0,4.469,1.019,5.86,3.051c1.387,2.034,2.085,4.762,2.085,8.185
		C26.558,17.455,25.877,20.023,24.516,22.058z M31.276,58.182c-2.473,1.655-5.861,2.48-10.161,2.48
		c-2.487,0-4.593-0.242-6.322-0.722c-1.726-0.482-3.102-1.104-4.125-1.869c-1.082-0.788-1.844-1.652-2.282-2.59
		c-0.438-0.936-0.658-1.915-0.658-2.94c0-2.282,0.666-4.145,1.998-5.595c1.33-1.449,3.577-2.482,6.737-3.098
		c3.365,0,6.322,0.074,8.866,0.221c2.547,0.149,4.229,0.279,5.049,0.395c1.551,0.379,2.706,1.097,3.47,2.152
		c0.762,1.055,1.141,2.396,1.141,4.036C34.983,54.018,33.75,56.53,31.276,58.182z"/>
		<path fill="#FFFFFF" d="M51.718,14.318V22.9h3.35v-8.582h8.543v-3.293h-8.543V2.424h-3.35v8.602h-8.543v3.293H51.718L51.718,14.318
		z"/>
	</symbol>
	
	<symbol id="icon-linkedin" viewBox="0 0 64 62.888">
		<title>LinkedIn</title> 
		<desc>Link to LinkedIn</desc>
		
		<path fill="#FFFFFF" d="M6.902,0c-4.229,0-6.988,2.85-6.9,6.646c-0.088,3.619,2.677,6.553,6.815,6.553
		c4.313,0,7.073-2.934,7.073-6.553C13.807,2.85,11.13,0,6.902,0z M0.345,62.888h13.114V18.074H0.345V62.888z M48.906,18.705
		c-4.189,0-8.471-0.866-13.029,6.204h-0.256l-0.23-6.831H23.782c0.174,3.708,0.196,9.245,0.196,14.507v30.303h13.113V36.992
		c0-1.215,0.17-2.42,0.51-3.285c0.861-2.414,3.018-4.917,6.645-4.917c4.744,0,6.646,3.708,6.646,9.139v24.959H64V36.291
		C64,23.869,57.531,18.705,48.906,18.705z"/>
	</symbol>
	
	<symbol id="icon-mail" viewBox="0 0 64 46.545">
		<title>Email</title> 
		<desc>Email</desc>
		
		<path fill="#FFFFFF" d="M59,5v36.545H5V5H59 M64,0H0v46.545h64V0L64,0z"/>
		<polyline fill="none" stroke="#FFFFFF" stroke-width="5" stroke-miterlimit="10" points="2.926,2.127 32,23.272 60.922,2.237 	"/>
	</symbol>
	
	<symbol id="icon-pinterest" viewBox="0 0 64 63.999">
		<title>Pinterest</title> 
		<desc>Link to Pinterest</desc>
		
		<path fill="#FFFFFF" d="M18.924,61.027C3.735,54.875-3.981,36.195,2.063,20.569C8.371,4.279,26.524-4.013,42.859,1.914
		c16.604,6.035,25.082,23.838,19.355,40.665c-5.338,15.693-23.418,25.008-38.612,20.113c1.678-5.066,3.343-10.127,4.983-15.102
		c4.885,4.449,11.357,4.598,17.031,0.256c7.002-5.365,10.119-17.827,6.379-25.844c-3.012-6.456-8.283-10.09-15.201-10.992
		c-9.13-1.195-17.193,1.109-22.849,8.865c-4.074,5.578-4.922,11.767-2.073,18.229c0.908,2.055,2.445,3.584,4.465,4.604
		c1.184,0.602,1.921,0.334,2.342-0.994c0.562-1.793,0.525-3.25-0.622-5c-2.391-3.646-1.726-7.645-0.141-11.437
		c3.752-8.962,16.665-12.133,23.894-5.938c2.373,2.043,3.563,4.701,3.758,7.731c0.305,4.584-0.404,9.015-2.611,13.119
		c-1.313,2.434-3.111,4.342-5.918,5.023c-4.264,1.025-7.428-2.061-6.392-6.303c0.696-2.854,1.585-5.658,2.343-8.499
		c0.195-0.726,0.299-1.494,0.328-2.25c0.098-2.177-0.926-4.018-2.561-4.737c-1.757-0.762-4.057-0.256-5.532,1.354
		c-2.703,2.945-2.837,6.414-2.044,10.121c0.256,1.207,0.293,2.572,0.037,3.779c-1.214,5.633-2.623,11.23-3.831,16.877
		C19.01,57.277,19.076,59.1,18.924,61.027z"/>
	</symbol>
	
	<symbol id="icon-twitter" viewBox="0 0 64 52.013">
		<title>Twitter</title> 
		<desc>Link to Twitter</desc>
		
		<path fill="#FFFFFF" d="M64,6.154c-2.354,1.044-4.885,1.749-7.537,2.069c2.709-1.626,4.789-4.2,5.77-7.266
		c-2.531,1.505-5.346,2.598-8.344,3.187C51.5,1.592,48.09,0,44.309,0c-7.248,0-13.128,5.878-13.128,13.131
		c0,1.025,0.117,2.028,0.339,2.992C20.608,15.575,10.936,10.348,4.458,2.404c-1.13,1.939-1.776,4.196-1.776,6.601
		c0,4.557,2.318,8.574,5.84,10.927c-2.151-0.065-4.174-0.656-5.947-1.641c0,0.055,0,0.11,0,0.166c0,6.363,4.525,11.667,10.532,12.875
		c-1.105,0.301-2.263,0.455-3.461,0.455c-0.847,0-1.668-0.074-2.472-0.227c1.671,5.215,6.521,9.008,12.265,9.117
		c-4.494,3.523-10.156,5.615-16.304,5.615c-1.06,0-2.106-0.061-3.135-0.184c5.81,3.73,12.712,5.904,20.125,5.904
		c24.145,0,37.359-20.004,37.359-37.355c0-0.57-0.012-1.137-0.043-1.7C60.008,11.099,62.238,8.786,64,6.154z"/>
	</symbol>
	
	<symbol id="icon-youtube" viewBox="0 0 64 44.907">
		<title>YouTube</title> 
		<desc>Link to YouTube</desc>

		<path fill="#FFFFFF" d="M63.394,9.304c0,0-0.115-8.491-9.777-8.838C43.966,0.113,32.994,0,32.994,0h-1.992
		c0,0-10.967,0.113-20.623,0.466C0.717,0.813,0.603,9.304,0.603,9.304S-0.675,23.151,0.49,33.565
		c0.877,7.875,2.556,10.41,11.752,10.875c9.186,0.467,18.771,0.467,18.771,0.467h1.971c0,0,9.586,0,18.771-0.467
		c9.195-0.465,10.875-3,11.752-10.875C64.677,23.151,63.394,9.304,63.394,9.304z M25.386,31.411V13.258l17.215,9.196L25.386,31.411z
		"/>
		<polygon opacity="0.2" fill="#FFFFFF" points="25.386,13.258 40.478,23.557 42.601,22.454 	"/>
	</symbol>
	
</svg>

<div class="wrapper">
  <div class="socialLinks">
    <a class="behance" href="#" title="Find me on Behance">
      <svg class="socialIcon">
        <use xlink:href="#icon-behance" />
      </svg>
    </a>
    <a class="codepen" href="#" title="Find me on Codepen">
      <svg class="socialIcon">
        <use xlink:href="#icon-codepen" />
      </svg>
    </a>
    <a class="facebook" href="#" title="Find me on Facebook">
      <svg class="socialIcon">
        <use xlink:href="#icon-facebook" />
      </svg>
    </a>
    <a class="googleplus" href="#" title="Find me on Google Plus">
      <svg class="socialIcon">
        <use xlink:href="#icon-googleplus" />
      </svg>
    </a>
    <a class="linkedin" href="#" title="Find me on LinkedIn">
      <svg class="socialIcon">
        <use xlink:href="#icon-linkedin" />
      </svg>
    </a>
    <a class="mail" href="#" title="Email Me">
      <svg class="socialIcon">
        <use xlink:href="#icon-mail" />
      </svg>
    </a>
    <a class="pinterest" href="#" title="Find me on Pinterest">
      <svg class="socialIcon">
        <use xlink:href="#icon-pinterest" />
      </svg>
    </a>
    <a class="twitter" href="#" title="Find me on Twitter">
      <svg class="socialIcon">
        <use xlink:href="#icon-twitter" />
      </svg>
    </a>
    <a class="youtube" href="#" title="Find me on YouTube">
      <svg class="socialIcon">
        <use xlink:href="#icon-youtube" />
      </svg>
    </a>
  </div>
</div>


            
          
!
            
              @import "compass/css3";

@import "compass/utilities/general/clearfix";

/* Social Icons Config */
$SocialIconSize: 64px;

/* Animation Time */
$AnimationTime: .2s;

/* General Colors */
$White: rgb(255,255,255);

/* Social Site Colors */
$Behance: rgb(23,105,255);
$Codepen: rgb(0,0,0);
$Facebook: rgb(59,89,152);
$GooglePlus: rgb(221,75,57);
$LinkedIn: rgb(29,135,190);
$Mail: rgb(226,78,67);
$Pinterest: rgb(204,34,41);
$Twitter: rgb(85,172,238);
$YouTube: rgb(229,44,40);

body { 
  background: rgb(40,40,40); }

.socialIcon {
	height: $SocialIconSize;
	width: $SocialIconSize; }

.wrapper {
  text-align: center; }

.socialLinks
{
  @include clearfix();
  display: inline-block;
  margin: 80px 0 0 0;
	a {
		display: block;
		background: transparent;
		border: 1px solid $White;
		float: left;
		height: $SocialIconSize*1.6;
		margin: 15px;
		position: relative;
		@include transition(background $AnimationTime/2 linear, border $AnimationTime/2 linear);
		width: $SocialIconSize*1.6;
		.socialIcon {
			left: 50%;
			margin: (-$SocialIconSize/2) 0 0 (-$SocialIconSize/2);
			position: absolute;
			top: 50%; }
	}
  .behance:hover {
		background: $Behance;
		border-color: $Behance; }
  .codepen:hover {
		background: $Codepen;
		border-color: $Codepen; }
	.facebook:hover {
		background: $Facebook;
		border-color: $Facebook; }
	.googleplus:hover {
		background: $GooglePlus;
		border-color: $GooglePlus; }
	.linkedin:hover {
		background: $LinkedIn;
		border-color: $LinkedIn; }
  .mail:hover {
		background: $Mail;
		border-color: $Mail; }
  .pinterest:hover {
		background: $Pinterest;
		border-color: $Pinterest; }
	.twitter:hover {
		background: $Twitter;
		border-color: $Twitter; }
  .youtube:hover {
		background: $YouTube;
		border-color: $YouTube; }
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console