---
title: "Discussion on \"How to add background image parallax with one line of CSS\" | Hashnode"
description: "Discussion on \"How to add background image parallax with one line of CSS\". Sometimes, you want to create a parallax effect on background images ( see demo ) without using libraries that bloat your codebase. This neat little CSS trick will help you achieve this.\nI have created this little HTML to demonstrate this.\n<body>\n   ..."
url: "https://hashnode.com/posts/how-to-add-background-image-parallax-with-one-line-of-css/6084819fe1555b2a98aaa2b9"
---

[Feed](https://hashnode.com/feed) /

Discussion

[Esther Ejidike](https://hashnode.com/@lady_catheryn)

Frontend Web Developer

Apr 24, 2021

# [How to add background image parallax with one line of CSS](https://lady_catheryn.hashnode.dev/how-to-add-background-image-parallax-with-one-line-of-css?utm_source=hashnode&utm_medium=feed)

Sometimes, you want to create a parallax effect on background images ( see demo ) without using libraries that bloat your codebase. This neat little CSS trick will help you achieve this. I have created this little HTML to demonstrate this. <body> ...

lady\_catheryn.hashnode.dev 1 min read

[#css3](https://hashnode.com/tag/css3)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
