Answer the question
In order to leave comments, you need to log in
How to apply hover to a div element?
I just started practicing layout, found a layout and met with such a problem. How to apply hover so that when hovering over a reduced image, the same enlarged image pops up in a separate block, as shown in the screenshot ( https://habrastorage.org/webt/gi/zk/ft/gizkft4acwk... ). I searched for a long time, but did not find how to do it.
Answer the question
In order to leave comments, you need to log in
Here is a simple JQUERY example
https://jsfiddle.net/53LyLmy9/
Excuse me, but what is this strange tag you have there: men ?
Also, I apologize, but your menu implementation is HORRIBLE!!!
I propose to read at least
www.internet-technologies.ru/articles/article_2149.html - you don’t even need to think about it - just CTRL-C - CTRL-V
https://htmlhook.ru/mobilnoe-menyu.html - short materiel.
When scrolling, position: fixed is added to the mesto_2 container, taking into account the fact that the length of the container is greater than the length of the screen, when scrolling this block stupidly stands still. You need to add overflow: scroll to it,
or don't fix this block.
So
what's with the "men" tag????
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question