Web Dev
Posted in
1546
1:17 am, June 19, 2022
Drop Down Nav Opacity
Drop Down Nav on Using Opacity rather than display none.
I noticed this dropdown nav and wondered how it worked.
They just change the opacity of the sub navs on mouse over and have them there all the time, seems kinda cool. Also a few other items are changed.
Opacity to 1, transform: rotate to 0 deg and pointer events all. Which means its initial state is Opacity 0, hidden, rotate (not sure), pointer-events:none. So you cant see it and you cant click on it, not sure why this is better than display none, maybe this is to keep the layout formatting the same or is it just being clever, or another way to do things.
View Statistics
This Week
49
This Month
134
This Year
462
Add Comment
Other Items in Web Dev
Related Search Terms
Other Categories in Articles
ai api and javascript apps bootstrap data imports docker forster funny images gaming linux marriage minecraft nft newsletters osrs operating systems photoshop pi rs3 slayer random code random things site development site updates tech tool documentation tools and utilities utilities vpn video notes videos web dev windows apps android apple apps atom bootstrap charts code code thoughts comments cooking core crypto css designs factorio games google hardware how to howto ios ideas linux mac music new world osrs php pi400 privacy python random random stats random web code random web things rs3 runescape site bugs slick slider terraria valheim videos web development webdev windows wordpress wow wow classic youtube