When I want to click the icon on a phone to open the menu I want there to be a transition. This is the code for responsive devices:
@media screen and (min-width: 800px) {
nav {
height: 80px;
flex-direction: row;
}
.logo {
padding-left: 50px;
margin: 0;
width: 20%;
}
ul {
display: flex;
justify-content: flex-end;
width: 80%;
flex-direction: row;
}
ul li {
display: inline-block;
margin: 0 70px 0 0;
text-align: left;
border-bottom-style: none;
padding: 0;
}
span.nav-toggle {
display: none;
}
}
I was expecting nothing because I did not know how to do that. I tried many things but I don't know why it didn't work.
transitionstatements to your CSStransitionin the style of that class.