Skip to content

ryanvalle/HTML.CSS--DapperLax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dapper-Lax

A simple HTML/CSS solution for an easy parallax effect.

Requirements

A web browser! This plugin is really basic and only uses HTML and CSS to create the effect. The magic happens with the css position and background attributes. Take a look at the code for more details.

Known Issues

  • iOS browsers tend to break at rendering the background images properly. I suspect this may be due to the background-size: cover attribute and how iOS calculates the window size for the site. Potential fix? I'm sure a little javascript will do the trick...
  • There are no comments in the code!!! I know...It's simple code so hopefully it's self explanitory enough for anybody wanting to utilize it.

About

A simple HTML/CSS example of a parallax effect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages