I can't seem to find what I am doing wrong here. The transform property should come into effect when the element is hovered, but nothing is happening when the event occurs.
Is anyone able to see what I am doing wrong here?
.btn:link,
.btn:visited {
text-transform: uppercase;
padding: 15px 40px;
text-decoration: none;
border-radius: 100px;
transition: all .2s;
}
.btn-white {
background-color: white;
color: #777;
}
.btn:hover {
transform: translateY(-3px);
}
.btn:active {
transform: translateY(-1px);
}
<div class="logobox">
<img src="img/logo-white.png" class="logo" alt="logo">
</div>
<div class="text-box">
<h1 class="primary-header">
<span class="heading-primary-main">Outdoors</span>
<span class="heading-primary-sub">is where life happens</span>
</h1>
<a href="#" class="btn btn-white">Discover Our Tours</a>
</div>