dcsimg
 

Submitted by: Octavia Anghel(octaviaanghel@gmail.com)

Thursday Nov 30th 2017 by Octavia Amghel

Language: Web, Expertise: Beginner - Learn how to move the background image at a different speed from the images in the foreground.

This web design technique moves the background image at a different speed from the images in the foreground.

Sample Code: Parallax Scrolling

.parallax {
   background-image: url (???example.jpg???);
   height: 100%;
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   background-repeat: no-repeat;
Home
Mobile Site | Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved