CSS Transition problems
I am working on my website and before the update, I was able to use CSS Transition and it worked find. On hover, the transition is not working. Also, when I try to click on the text to create a transition I am having an issue. I even tried to solve the problem with Div and still would run into problems. Here is my code.
<header>
<div class = "navigation">
<nav>
<div clas ="home page button">
<a href="home.html" onMouseOver="MM_swapImage('PL_Gray_Logo','',
'PL GRAY.png',1)" onMouseOut="MM_swapImgRestore()"><img src="PL GRAY.png" alt="Company Logo" width="217" height="90" class="brandhome"></a>
<h1><a href="services.html" class="services">Services</a></h1>
<h1><a href="casestudies.html" class="casestudies">Cases</a></h1>
<h1 class="services"><a href="contact.html">Contact</a></h1>
</div>
</nav>
</div>
</header>
</div>
<div class ="main image"> </div>
<img src="../../../Gray Industries/PL Gray Consulting/Consulting/Websites/Gray Group/mirroring-711926_edited.jpg" alt="" width="1300" height="500" class="home_image"/>
<div class ="footer">
<footer>
<p>Copyright © 2015 by P.L. Gray Consulting</p>
</footer>
</div>
</body>
</html>
div a .brandhome {
width: 217px;
height: 90px;
display: block;
}
a {
color: #050505;
text-decoration: none;
text-transform: uppercase;
font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
margin-left: 0px;
width: 0px;
float: left;
margin-bottom: 26px;
}
div h1 .services {
margin-left: 300px;
-webkit-transition: all .5s ease 0s;
-o-transition: all .5s ease 0s;
transition: all .5s ease 0s;
margin-top: 47px;
}
div h1 .casestudies {
margin-left: 450px;
margin-top: 47px;
}
.home_image {
display: block;
margin-left: -7px;
}
div .services a {
margin-left: 350px;
margin-top: 47px;
}
div h1 .services:hover {
background-color: rgba(237,171,31,1);
}
