Skip to content

ihadeed/ionic-parallax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ionic-parallax

WIP, here's a quick usage example:

npm i --save ionic-parallax
import { ParallaxModule } from 'ionic-parallax';

@NgModule({
  imports: [
    ...
     ParallaxModule
  ]
}) 
<ion-content>
  <ion-card>
     <div parallax [ratio]=50></div>
  </ion-card>
</ion-content>
ion-card {
  position: relative;
   
  > img[parallax] {
    position: absolute;
    height: inherit;
  }
}

About

Parallax Module for Ionic Framework 2+

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published