Hi all, I recently went back and improved my portfolio assignment. I’m almost at a place where I think it’s perfect, just two small issues driving me nuts!
- My css animations for the menu disappear after the animation has run it’s course. Right now I have it set as
@keyframes btnHover {
0% {
background-color: rgba(240, 240, 240, 1);
}
15% {
background-color: rgba(200, 200, 200, 1);
}
100% {
background-color: rgba(200, 200, 200, 1);
}
}
With an animation duration of 4s so that the button background changes on a hover. However if they are hovered over for more than 4 seconds the new background color disappears which I don’t want.
The other issue is that my page should be the width of the viewport. For some reason it has created an extra 20px or so of dead space to the right of the page resulting in an unnecessary and unwanted scroll bar. How can I get rid of it?
Codepen here: http://codepen.io/doug20000/pen/ygBEoR?editors=1100
Thanks in advance