Web Dev
Posted in
28
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
20
This Month
29
This Year
29
Add Comment
Other Items in Web Dev
Other Categories in Articles
api and javascript apps bootstrap data imports docker forster funny images linux marriage minecraft nft operating systems pi rs3 slayer random code random things site development site updates tech tools and utilities utilities videos web dev android apple apps atom bootstrap code cooking core crypto css designs factorio games google hardware how to howto ios linux mac music new world osrs php pi400 privacy python random rs3 runescape site bugs terraria valheim web development webdev windows wordpress wow wow classic