HTML

<a href="" class="icon-button facebook"><i class="icon-facebook"></i><span></span></a>
<a href="" class="icon-button youtube"><i class="icon-youtube"></i><span></span></a>
<a href="" class="icon-button instagram"><i class="icon-instagram"></i><span></span></a>
Opciones CSS
https://netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css
CSS

html {
	font-size: 20px;
}
body {
	background-color: #ccc;
	padding: 50px;
	text-align: center;
}

/*Crea el icono*/
.icon-button {
	background-color: white;
	border-radius: 3.6rem;
	cursor: pointer;
	display: inline-block;
	font-size: 2.0rem;
	height: 3.6rem;
	line-height: 3.6rem;
	margin: 0 5px;
	position: relative;
	text-align: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	width: 3.6rem;
}

/* Creaa el circulo */
.icon-button span {
	border-radius: 0;
	display: block;
	height: 0;
	left: 50%;
	margin: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	     -o-transition: all 0.3s;
	        transition: all 0.3s;
	width: 0;
}
Categorías: Uncategorized

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Copy Protected by Chetan's WP-Copyprotect.