Skip to content

lulucraft/angular-Parallax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Responsive Background Image Parallax for Angular 7

Download .ts file and copy into your project then use below div tag in your Html.

<div appParallax imgSrc="path-to-your-image" imgHeight="70vh" bgSize="cover"></div>

Options

Use below options in your html tag

imgSrc // path to your image

imgHeight // backgound height. default is 70vh

bgPosition // background position. default is 50% 0

bgSize // backgound size. default is cover

About

Parallax for Angular 7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%