Home > Web Front-end > JS Tutorial > Navigation follows the scroll bar and moves to the top sample code_javascript skills

Navigation follows the scroll bar and moves to the top sample code_javascript skills

WBOY
Release: 2016-05-16 17:22:49
Original
1086 people have browsed it
复制代码 代码如下:

#topmenu{position:absolute;top:100px;background:#4b4a4a;width:100%;margin:0 auto;clear:both;overflow:hidden;z-index:998;left:0}



效果图如下:
Navigation follows the scroll bar and moves to the top sample code_javascript skills
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template