V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
Elethom

使用 stellar.js 制作 parallax scrolling (视差滚动) 效果

  •  
  •   Elethom · Mar 23, 2014 · 5396 views
    This topic created in 4417 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Mar 30, 2014
    使视差滚动用 stellar.js 支持百分比格式的 background position 属性 /t/106553
    3 replies    1970-01-01 08:00:00 +08:00
    RIcter
        1
    RIcter  
       Mar 23, 2014
    挺赞;P
    artwalk
        2
    artwalk  
       Mar 23, 2014
    好神奇
    bsbgong
        3
    bsbgong  
       Mar 24, 2014
    这段时间正好做了个parallax效果
    设计人员给我参考的这个页面: http://razorfish.github.io/Parallax-JS

    不过我嫌计算前景背景的差别滚动太麻烦,就直接使用background-attachment的fixed了,背景不动。简单的parallax。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   825 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:50 · PVG 04:50 · LAX 13:50 · JFK 16:50
    ♥ Do have faith in what you're doing.