> For the complete documentation index, see [llms.txt](https://docs.pages.revox.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pages.revox.io/angular/directives/parallax.md).

# Parallax

## Importing

First import it to your app module or any submodule as you wish

```typescript
import { SharedModule } from './@pages/components/shared.module';
@NgModule({
  imports: [SharedModule,...]
})
export class AppModule(){}
```

## Usage

Place "pg-parallax" in any div you want to get the parallax effect

{% tabs %}
{% tab title="HTML" %}

```markup
<div class="inner" pg-parallax>
</div>
```

{% endtab %}
{% endtabs %}
