@Ikuewumi
Posted
Hi @prabh234 ๐. Great solution, and about your question, the option I would recommend is adding a box-shadow
that has a large spread on the nav in mobile screens. I would suggest that you not animate the box-shadow though, might impact performance negatively. The code could go like so:
nav {
...
box-shadow: 0 0 0 200vmax #00000020;
}
If you have any questions, don't hesitate to ask, and keep coding๐,
Ayobami
Marked as helpful
@prabh234
Posted
@Ikuewumi thank you so much I applied it and it worked perfectly