S
S
Sergey Bykovsky2018-02-09 20:53:23
JavaScript
Sergey Bykovsky, 2018-02-09 20:53:23

How to put logo in popup menu when scrolling?

The task is to insert a logo into the block with the menu. There was an idea to throw a logo in the same place with a picture, just make it opacity 0 and position fixed, and then somehow use js with scroll down to add opacity to it. But I don't know how to implement it. With js sign 20 minutes))
Please help the teapot)
5a7ddef0806bb902904045.jpeg
The problem is that the pop-up menu POP-UPS, and if you just give the logo a position fixed, then it remains alone for a second, which is not beautiful
5a7ddf8bf2589135869815.jpeg
, such a pop-up menu
5a7ddfc55fe6d235412246.jpeg
Well, or maybe someone knows how can you put the logo in there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2018-02-10
@KickeRockK

Logo in the background? If so, then cut it out from the background and throw it into a separate file and paste it as the first menu item In styles, set your proportions for it and you will be happy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question