Loading...
Customize

Customize theme

Colors
Primary
Warning
Info
Success
Danger
Typography (1rem = 16px)
Borders / Rounding

Menu

Content

Components

Utilities

Buy now

Parallax

Around supports 2 types of parallax effect: on page scrolling and cursor position.

Around component

Background image

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.

Parallax scroll effect

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.

Parallax scale effect

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.

Parallax opacity effect

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.

Parallax scroll-opacity effect

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.

Parallax scale-opacity effect

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate.

<!-- Parallax scroll effect -->
<div class="jarallax bg-dark py-5" data-jarallax data-speed="0.6">
  <span class="position-absolute top-0 start-0 w-100 h-100 bg-dark opacity-50"></span>
  <div class="jarallax-img" style="background-image: url(assets/img/landing/corporate/hero-bg.jpg);"></div>
  <div class="position-relative text-center zindex-2 px-3 py-sm-5 my-lg-5">
    <h2 class="h1 text-white my-5">Parallax scroll effect</h2>
  </div>
</div>

<!-- Parallax scale effect -->
<div class="jarallax bg-dark py-5" data-jarallax  data-type="scale" data-speed="0.5">
  <span class="position-absolute top-0 start-0 w-100 h-100 bg-dark opacity-50"></span>
  <div class="jarallax-img" style="background-image: url(assets/img/landing/yoga-studio/hero/01.jpg);"></div>
  <div class="position-relative text-center zindex-2 px-3 py-sm-5 my-lg-5">
    <h2 class="h1 text-white my-5">Parallax scale effect</h2>
  </div>
</div>

<!-- Parallax opacity effect -->
<div class="jarallax bg-dark py-5" data-jarallax  data-type="opacity" data-speed="0.5">
  <span class="position-absolute top-0 start-0 w-100 h-100 bg-dark opacity-50"></span>
  <div class="jarallax-img" style="background-image: url(assets/img/landing/shop/hero/bg.jpg);"></div>
  <div class="position-relative text-center zindex-2 px-3 py-sm-5 my-lg-5">
    <h2 class="h1 text-white my-5">Parallax opacity effect</h2>
  </div>
</div>

<!-- Parallax scroll-opacity effect -->
<div class="jarallax bg-dark py-5" data-jarallax  data-type="scroll-opacity" data-speed="0.6">
  <span class="position-absolute top-0 start-0 w-100 h-100 bg-dark opacity-50"></span>
  <div class="jarallax-img" style="background-image: url(assets/img/landing/coworking-space/parallax-image.jpg);"></div>
  <div class="position-relative text-center zindex-2 px-3 py-sm-5 my-lg-5">
    <h2 class="h1 text-white my-5">Parallax scroll-opacity effect</h2>
  </div>
</div>

<!-- Parallax scale-opacity effect -->
<div class="jarallax bg-dark py-5" data-jarallax  data-type="scale-opacity" data-speed="0.5">
  <span class="position-absolute top-0 start-0 w-100 h-100 bg-dark opacity-50"></span>
  <div class="jarallax-img" style="background-image: url(assets/img/about/agency/parallax-image.jpg);"></div>
  <div class="position-relative text-center zindex-2 px-3 py-sm-5 my-lg-5">
    <h2 class="h1 text-white my-5">Parallax scale-opacity effect</h2>
  </div>
</div>
// Parallax scroll effect
.jarallax.bg-dark.py-5(data-jarallax, data-speed="0.6")
  span.position-absolute.top-0.start-0.w-100.h-100.bg-dark.opacity-50
  .jarallax-img(style="background-image: url(assets/img/landing/corporate/hero-bg.jpg);")
  .position-relative.text-center.zindex-2.px-3.py-sm-5.my-lg-5
    h2.h1.text-white.my-5 Parallax scroll effect

// Parallax scale effect
.jarallax.bg-dark.py-5(data-jarallax, data-type="scale", data-speed="0.5")
  span.position-absolute.top-0.start-0.w-100.h-100.bg-dark.opacity-50
  .jarallax-img(style="background-image: url(assets/img/landing/yoga-studio/hero/01.jpg);")
  .position-relative.text-center.zindex-2.px-3.py-sm-5.my-lg-5
    h2.h1.text-white.my-5 Parallax scale effect

// Parallax opacity effect
.jarallax.bg-dark.py-5(data-jarallax, data-type="opacity", data-speed="0.5")
  span.position-absolute.top-0.start-0.w-100.h-100.bg-dark.opacity-50
  .jarallax-img(style="background-image: url(assets/img/landing/shop/hero/bg.jpg);")
  .position-relative.text-center.zindex-2.px-3.py-sm-5.my-lg-5
    h2.h1.text-white.my-5 Parallax opacity effect

// Parallax scroll-opacity effect
.jarallax.bg-dark.py-5(data-jarallax, data-type="scroll-opacity", data-speed="0.6")
  span.position-absolute.top-0.start-0.w-100.h-100.bg-dark.opacity-50
  .jarallax-img(style="background-image: url(assets/img/landing/coworking-space/parallax-image.jpg);")
  .position-relative.text-center.zindex-2.px-3.py-sm-5.my-lg-5
    h2.h1.text-white.my-5 Parallax scroll-opacity effect
    
// Parallax scale-opacity effect
.jarallax.bg-dark.py-5(data-jarallax, data-type="scale-opacity", data-speed="0.5")
  span.position-absolute.top-0.start-0.w-100.h-100.bg-dark.opacity-50
  .jarallax-img(style="background-image: url(assets/img/about/agency/parallax-image.jpg);")
  .position-relative.text-center.zindex-2.px-3.py-sm-5.my-lg-5
    h2.h1.text-white.my-5 Parallax scale-opacity effect

Cursor position parallax

LayerLayer
LayerLayer
LayerLayer
LayerLayer
LayerLayer
<!-- Cursor position parallax -->
<div class="parallax">

  <!-- Layer -->
  <div class="parallax-layer" data-depth="-0.05">
    <img src="assets/img/about/product/hero/01-light.png" class="d-dark-mode-none" alt="Layer">
    <img src="assets/img/about/product/hero/01-dark.png" class="d-none d-dark-mode-block" alt="Layer">
  </div>

  <!-- Layer -->
  <div class="parallax-layer" data-depth="0.1">
    <img src="assets/img/about/product/hero/02-light.png" class="d-dark-mode-none" alt="Layer">
    <img src="assets/img/about/product/hero/02-dark.png" class="d-none d-dark-mode-block" alt="Layer">
  </div>

  <!-- Layer -->
  <div class="parallax-layer zindex-2" data-depth="0.2">
    <img src="assets/img/about/product/hero/03-light.png" class="d-dark-mode-none" alt="Layer">
    <img src="assets/img/about/product/hero/03-dark.png" class="d-none d-dark-mode-block" alt="Layer">
  </div>

  <!-- Layer -->
  <div class="parallax-layer" data-depth="-0.2">
    <img src="assets/img/about/product/hero/04-light.png" class="d-dark-mode-none" alt="Layer">
    <img src="assets/img/about/product/hero/04-dark.png" class="d-none d-dark-mode-block" alt="Layer">
  </div>

  <!-- Layer -->
  <div class="parallax-layer" data-depth="-0.25">
    <img src="assets/img/about/product/hero/05-light.png" class="d-dark-mode-none" alt="Layer">
    <img src="assets/img/about/product/hero/05-dark.png" class="d-none d-dark-mode-block" alt="Layer">
  </div>
</div>
// Cursor position parallax
.parallax

  // Layer
  .parallax-layer(data-depth="-0.05")
    img(src="assets/img/about/product/hero/01-light.png", alt="Layer").d-dark-mode-none
    img(src="assets/img/about/product/hero/01-dark.png", alt="Layer").d-none.d-dark-mode-block
  
  // Layer
  .parallax-layer(data-depth="0.1")
    img(src="assets/img/about/product/hero/02-light.png", alt="Layer").d-dark-mode-none
    img(src="assets/img/about/product/hero/02-dark.png", alt="Layer").d-none.d-dark-mode-block
  
  // Layer
  .parallax-layer.zindex-2(data-depth="0.2")
    img(src="assets/img/about/product/hero/03-light.png", alt="Layer").d-dark-mode-none
    img(src="assets/img/about/product/hero/03-dark.png", alt="Layer").d-none.d-dark-mode-block
  
  // Layer
  .parallax-layer(data-depth="-0.2")
    img(src="assets/img/about/product/hero/04-light.png", alt="Layer").d-dark-mode-none
    img(src="assets/img/about/product/hero/04-dark.png", alt="Layer").d-none.d-dark-mode-block
  
  // Layer
  .parallax-layer(data-depth="-0.25")
    img(src="assets/img/about/product/hero/05-light.png", alt="Layer").d-dark-mode-none
    img(src="assets/img/about/product/hero/05-dark.png", alt="Layer").d-none.d-dark-mode-block