r/csshelp • u/Neuroloq1kk • Mar 16 '18
CSS Hover effect, how can I hover an image and show a list? Example in post!
Hey,
So here's the example I am talking about: HLTV
If you scroll down to the "Teams Attending" Section, if you hover a team image you can see the players playing for that team, how can I do such thing? I need to hover an image and show 5 names follow by 5 prices, example:
Name1 | 150.000$
Name2 | 160.000$
Name3 | 80.000$
Name4 | 170.000$
Name5 | 190.000$Another example would be the /r/Formula1, if you scroll down to this part and hover the <li> it will open up to the left as seen here, how is this done aswell?
So how can I do this?
All help appreciated, thanks in advance!
6
Upvotes
1
u/ForScale Mar 16 '18
Here ya go! https://codepen.io/anon/pen/ZxpEGr?editors=1100