Starry Night Parallax CSS Simplified


/ Published in: CSS
Save to your folder(s)

A Simplified solution to CSS-Tricks Starry Night Parallax Effect. Se URL for demo and original article. Example files can also be downloaded at the URL.


Copy this code and paste it in your HTML
  1. body {
  2.  
  3. background: url(image/foreground.png) repeat 5% 5%, url(image/midground.png) repeat 20% 20%, url(image/background.png) repeat 90% 110%;
  4.  
  5. }

URL: http://css-tricks.com/610-3d-parralax-background-effect/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.