Home >Web Front-end >JS Tutorial >Interesting idea~~JS imitation WINXP logout desktop fade effect_javascript skills

Interesting idea~~JS imitation WINXP logout desktop fade effect_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:25:02875browse

Since I have seen many people’s fake XP fade effects in the past, they are not very realistic. I accidentally thought of an idea in the past few days

... Hehe... it’s very interesting

Look at everyone Can you understand it~~ It should be ok~~HOHO..

The idea can be summarized in one sentence... No matter how long the entire document is, let the scroll bar of the body disappear and let the mask layer cover the entire form. Visible area!

The word 'visible' is very important!!



Only to roughly create the effect... without beautifying it... haha. The rest. The timeout allows the mask gradient to be added when needed.

The following is the code

If it is good, please give me some extra points. Hehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehehe does not have any problem

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn