Home > Web Front-end > HTML Tutorial > 求帮忙,这个网站的背景效果是怎么实现的?http://thefoxwp.com/_html/css_WEB-ITnose

求帮忙,这个网站的背景效果是怎么实现的?http://thefoxwp.com/_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 08:58:28
Original
1376 people have browsed it


背景图看起来不像是完全固定不动的,它随着滚动而移动的。。


回复讨论(解决方案)

这种东西是看设计师设计的,可以去搜一搜视觉差~
实现起来也还好,在某个块(可以是div,可是是body)上记录鼠标的的位置,根据位置来决定后面背景图片的的位置,这样就会感觉有一个动画的效果。

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