【发布时间】:2015-09-26 20:43:36
【问题描述】:
我的视差滚动网站有问题。我需要在网站顶部创建一个固定的标题,但它不会保持“固定”。
此处为完整代码的链接: http://jsfiddle.net/ressy0101/sx4ukc1c/5/
#header{
position: fixed;
background-color: black;
height: 50px;
width: 100%;
z-index: 9999;
color:white;
text-align:center;
font-size:40px;
}
【问题讨论】:
标签: scroll header css-position parallax