Botón con CSS super chulo
by Yolanda Robles
HTML
<div class="octagon"></div>
<div class="circle">
<h1>Octuweb</h1>
</div>
CSS
.octagon {
width: 16.5em;
height: 16.6em;
background-color: #EC6060;
-webkit-transform: perspective(999px) rotate(22.5deg);
-moz-transform: rotate(22.5deg);
-ms-transform: rotate(22.5deg);
transform: perspective(999px) rotate(22.5deg);
margin: auto;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.octagon:before {
content:"";
position: absolute;
top: 0;
left: 0;
border-bottom: 4.785em solid #EC6060;
border-left: 4.785em solid #fff;
border-right: 4.785em solid #fff;
width: 7em;
height: 0;
}
.octagon:after {
content:"";
position: absolute;
bottom: 0;
left: 0;
border-top: 4.785em solid #EC6060;
border-left: 4.785em solid #fff;
border-right: 4.785em solid #fff;
width: 7em;
height: 0;
}
.circle {
background: rgb(255, 255, 255);
border-radius: 100%;
border: 2px solid #fff;
cursor: pointer;
margin: auto;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 15em;
height: 15em;
overflow: hidden;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
}
.circle h1 {
color: rgba(189, 185, 199, 0);
font-family:'Raleway', sans-serif;
font-weight: 900;
font-size: 1.6em;
line-height: 8.2em;
text-align: center;
text-transform: uppercase;
-webkit-font-smoothing: antialiased;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: color 0.8s ease-in-out;
-moz-transition: color 0.8s ease-in-out;
-ms-transition: color 0.8s ease-in-out;
transition: color 0.8s ease-in-out;
}
.circle:before, .circle:after {
border-radius: 0%;
content:"";
position: absolute;
top: 0;
left: 0;
width: inherit;
height: inherit;
box-shadow: inset 10.6em 0 0 rgba(236, 96, 96, 0.2),...