是否有可能使background-attachment:fixed;
为div
定位的div
位置不与视窗?如果没有,也许还有其他选择?
.zest-ghost {
width: 302px;
height: 222px;
top: 0;
left: 50%;
background-image: url(../images/logo-ghost.png);
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}