cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="96px" height="32px" viewBox="0 0 96 32" enable-background="new 0 0 96 32" xml:space="preserve" style="display:none;" role="img" aria-labelledby="img-title img-desc">
	<symbol id="icon-facebook" viewbox="0 0 32 32">
		<title id="img-title">Facebook</title>
		<desc id="img-desc">Facebook profile</desc>
		<path d="M23.038,10.56l-0.367,4.767h-4.887v16.569h-6.178V15.327H8.333V10.56h3.272V9.072V7.58V7.333
			c0-1.413,0.044-3.564,1.077-4.931C13.763,0.995,15.255,0,17.784,0c0,0,4.141,0,5.921,0.621l-0.833,4.888
			c-1.366-0.415-2.648-0.415-2.648-0.415c-1.284,0-2.439,0.458-2.439,1.739v0.504v1.737v1.49h5.254V10.56z"/>
	</symbol>
	<symbol id="icon-twitter" viewbox="32 0 32 32">
		<title id="img-title">Twitter</title>
		<desc id="img-desc">Twitter profile</desc>
		<path d="M60.707,9.526c0.014,0.28,0.018,0.564,0.018,0.846c-0.002,8.67-6.598,18.668-18.668,18.668
			c-3.704,0-7.154-1.088-10.057-2.949c0.513,0.063,1.038,0.096,1.565,0.096c3.078,0,5.903-1.055,8.148-2.811
			c-2.873-0.052-5.293-1.951-6.126-4.554c0.399,0.077,0.812,0.117,1.232,0.117c0.599,0,1.178-0.077,1.728-0.229
			c-3-0.602-5.262-3.257-5.262-6.437c0-0.028,0-0.056,0.002-0.081c0.886,0.495,1.898,0.787,2.972,0.819
			c-1.763-1.176-2.922-3.183-2.922-5.461c0-1.204,0.325-2.331,0.887-3.296c3.237,3.967,8.072,6.583,13.523,6.854
			c-0.111-0.478-0.167-0.982-0.167-1.498c0-3.621,2.938-6.558,6.562-6.558c1.887,0,3.59,0.795,4.793,2.073
			c1.486-0.294,2.889-0.841,4.162-1.591c-0.492,1.531-1.532,2.816-2.887,3.63c1.325-0.159,2.592-0.514,3.768-1.036
			C63.101,7.447,61.988,8.601,60.707,9.526z"/>
	</symbol>
	<symbol id="icon-google" viewbox="64 0 32 32">
		<title id="img-title">Google Plus</title>
		<desc id="img-desc">Google Plus profile</desc>
		<path d="M75.5,15.75c0-0.75,0.359-0.895,1-1.375c1-0.75,3.984-1.567,3.984-6.487c0-1.545-0.928-3.581-2.234-4.492
			l2.625-0.021l2.5-1.551c-6.75,0-9.795-0.236-12.297,0.551c-2.98,0.993-5.039,3.273-5.039,6.494c0,3.73,2.58,6.131,6.27,6.131
			h0.239c-0.923,1.125-0.298,2.25,0.912,3.454c-3.809,0-8.968,1.325-8.968,6.005c0,4.445,4.402,6.048,8.131,6.048
			c4.371,0,9.012-2.106,9.012-7.106C81.635,19.681,75.5,17.255,75.5,15.75z M69.072,7.467c0-1.844,0.884-3.826,3.326-3.826
			c3.268,0,4.881,3.826,4.881,6.164c0,1.844-0.836,3.825-3.326,3.825C70.685,13.629,69.072,9.805,69.072,7.467z M74.234,28.43
			c-4.033,0-6.234-2.04-6.234-4.523c0-3.301,4.315-4.156,6.602-4.156c1.467,1.223,4.523,2.569,4.523,5.013
			C79.125,27.247,76.369,28.43,74.234,28.43z"/>
		<polygon points="90,8 90,2 88,2 88,8 82,8 82,10 88,10 88,16 90,16 90,10 96,10 96,8 		"/>
	</symbol>
</svg>
<div class="social">
	<h2>SVG Social Media Buttons</h2>
	<ul>
		<li class="facebook">
			<a href="#">
				<svg><use xlink:href="#icon-facebook"></use></svg>
			</a>
		</li>
		<li class="twitter">
			<a href="#">
				<svg><use xlink:href="#icon-twitter" /></svg>
			</a>
		</li>
		<li class="google">
			<a href="#">
				<svg><use xlink:href="#icon-google" /></svg>
			</a>
		</li>
	</ul>
</div>
            
          
!
            
              .social {
	h2 {
		text-align: center;
		margin:1em 0 0;
	}
	ul {
		display: flex;
		justify-content: center;
		align-content: center;
		flex-wrap: wrap;
		padding: 0;
		margin-bottom: 2em;
		list-style: none;
	}
	li {
		width:67px;
		height:67px;
		margin: 1em 0.5em 0;
		border: 3px solid #fff;
		border-radius: 50%;
		box-shadow: 0.5em 0.5em 1em rgba(0,0,0,0);
		transition: all 0.2s ease;
		&:hover, &:active, &:focus {
			margin-top: .75em;
			margin-bottom: .25em;
			border-color: white;
			box-shadow: 0.5em 0.5em 1em rgba(0,0,0,0.5);
		}
	}
	a {
			width:100%;
			height: 100%;
			display: block;
			position: relative;
	}
	svg {
		fill: #fff;
		width: 32px;
		height: 32px;
		top: 25%;
		left: 25%;
		position: absolute;
	}
	.facebook, .twitter, .google {
		background-color:#555;
	}
	.facebook:hover {
		background: #3b5998;
	}
	.twitter:hover {
		background: #00aced;
	}
	.google:hover {
		background: #dd4b39;
	}
} // end social icon styles
            
          
!
999px
Loading ..................

Console