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 {
  3. background: url(image/foreground.png) repeat 5% 5%, url(image/midground.png) repeat 20% 20%, url(image/background.png) repeat 90% 110%;
  5. }


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.