Home >Web Front-end >HTML Tutorial >css固定div头部不随滚动条滚动_html/css_WEB-ITnose

css固定div头部不随滚动条滚动_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:17:481122browse

给div加浮动:
position:fixed;
固定宽度,高度,距离头部,左部为0:<br />width: 99%; <br />height: 80px;
top:0; <br />left: 0;
   

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