I have a dropdown list that appears when hovering over a list item in a nav. I cant get the drop down to ease in.
Can anyone help me get this ease in transition?
/*style for the list items in the drop down*/
.navDropList .navDropItem {
padding-top: 8px;
padding-bottom: 8px;
margin-top: 5px;
width: 100%;
list-style: none;
}
/*styling the div that the list resides in*/
.navDropList .dropTag {
font-size: 20px;
color: #d3d3d3;
text-decoration: none;
font-family: 'Source Sans Pro', sans-serif;
}
/*styling drop down list and attempting to set paramaters for transition*/
.navDropList {
width: 100%;
background-color: #414141;
padding-top: 10px;
margin-bottom: 5%;
padding-left: 0px;
border-bottom-left-radius: 5%;
border-bottom-right-radius: 5%;
text-align: center;
position: absolute;
display: none;
transition: all .3s ease-in;
height: 0;
}
/*attempting to make transition. Only displays as block, no ease in*/
.navListItem:hover .navDropList {
display: block;
height: 250px;
}
<nav>
<ul class="navList">
<li class=navListItem><a class="navTag current" href="nehemiahUniversity.html">Home</a></li>
<li class=navListItem><a class="navTag" href="courses.HTML">Courses</a></li>
<li class=navListItem><a class="navTag" href="training.html">Training Material</a>
<ul class="navDropList">
<li class="navDropItem"><a class="dropTag" href="training.html#productionSection">Production</a></li>
<li class="navDropItem"><a class="dropTag" href="training.html#warehouseSection">Warehouse</a></li>
<li class="navDropItem"><a class="dropTag" href="training.html#qualitySection">Quality Control</a></li>
<li class="navDropItem"><a class="dropTag" href="training.html#blendingSection">Blending</a></li>
<li class="navDropItem"><a class="dropTag" href="training.html#officeSection">Office</a></li>
</ul>
</li>
<li class=navListItem><a class="navTag" href="walkthrough.HTML">Walkthrough</a></li>
</ul>
</nav>