Open jshreyans opened 5 years ago
overflow-x : hidden
to the body
would prevent that.@keyframes bounce { ... }
transition and attach to all those elements with .bounce
as their class and make that transition happen in the same loop, i.e. it is easily extensible ).
HINT: You can try creating an array of objects as [ { elem: (HTMLElement), transitionClass: slideIn}, { elem: (HTMLElement), transitionClass: slideIn}, { elem: (HTMLElement), transitionClass: slideOut}, ....]
for each element to be transitioned and then iterate over it. To create such an array you may need to use some array methods. (This is just a hint, you can do anyways you want to but make sure it is easily extendable)
Apart from that, Nice JobThanks a lot! I've corrected the scrollbar problem and I'll definitely work on the second point too.
Completed B5