Why is the CSS3 Transition not working on the hover effect for both the text and the coffee cup, and why is there a white border at the bottom of the coffee cup? I am looking to remove the border at the bottom of the cup.
The entire thing utilizes the Awesome Icon Font.
Check out the DEMO. Here's my code:
body {
background: #000;
}
.contactbutton {
border: 1px solid #FFF;
height: 50px;
margin-top: 50px;
border-radius: 5px;
text-align: center;
padding: 10px;
font-weight: 700;
font-size: 20px;
background: transparent;
}
.contactbutton a,
.contactbutton a:link,
.contentbutton a:visited {
color: #FFF;
}
.contactbutton i {
display: none;
-webkit-transition: all 1s ease 0s;
-moz-transition: all 1s ease 0s;
-o-transition: all 1s ease 0s;
transition: all 1s ease 0s;
}
.contactbutton a b {
-webkit-transition: all 1s ease 0s;
-moz-transition: all 1s ease 0s;
-o-transition: all 1s ease 0s;
transition: all 1s ease 0s;
}
.contactbutton a:hover i {
display: block;
-webkit-transition: all 1s ease 0s;
-moz-transition: all 1s ease 0s;
-o-transition: all 1s ease 0s;
transition: all 1s ease 0s;
}
.contactbutton a:hover b {
display: none;
-webkit-transition: all 1s ease 0s;
-moz-transition: all 1s ease 0s;
-o-transition: all 1s ease 0s;
transition: all 1s ease 0s;
}
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<div class="contactbutton"><a href="#contact"><i class=
"fa fa-coffee fa-2x"></i></i><b>Talk.</b></a></div>