Skip to content

ashkr808/scroll-aniamtion-lazy-load-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

scroll aniamtion and lazy load images

Scroll animation

just add data-scroll attribute in any html tag and assign one the following values

  • data-scroll="fromBottom"
  • data-scroll="fromTop"
  • data-scroll="fromLeft"
  • data-scroll="fromRight"

Values define the ditection of animation.

Lazy load images

Add source of image in data-src attribute of tag. Image will start loading as soon as it appears in the viewport.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages