---
title: "Discussion on \"Change Navbar Background Color on Scroll\" | Hashnode"
description: "Discussion on \"Change Navbar Background Color on Scroll\". Tiny changes make remarkable result in a web page.\nChanging the background color of a navbar when you scroll can add more beauty to the website and improve user experience.\nFollow along as we implement this simple effect as you scroll the webpage.\nPr..."
url: "https://hashnode.com/posts/change-navbar-background-color-on-scroll/657c91e53b2b738f8bcb8a57"
---

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

Discussion

# [Change Navbar Background Color on Scroll](https://blog.segunajibola.com/change-navbar-background-color-on-scroll?utm_source=hashnode&utm_medium=feed)

Tiny changes make remarkable result in a web page. Changing the background color of a navbar when you scroll can add more beauty to the website and improve user experience. Follow along as we implement this simple effect as you scroll the webpage. Pr...

Dec 15, 2023 · 6 min read · blog.segunajibola.com  
Read the article

-   [#scrolly](https://hashnode.com/tag/scrolly)
-   [#scroll](https://hashnode.com/tag/scroll)
-   [#scrollbar](https://hashnode.com/tag/scrollbar)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#css](https://hashnode.com/tag/css)

## Written by

[Segun Ajibola](https://hashnode.com/@segunajibola)

@segunajibola · Lagos, Nigeria

  
[View profile](https://hashnode.com/@segunajibola)

👨🏿‍💻 Frontend Developer | 📝 Technical Writer | 🔓 Open-Source Contributor

I'm a front-end web developer, enjoys working with TailwindCSS and React. Love to contribute to Open Source and meet new people on Twitter.

## Responses 1

Markdown supported · ⌘↵ to post

[Md Faizan Alam](https://hashnode.com/@Faizan711)

[Dec 19, 2023](https://hashnode.com/posts/change-navbar-background-color-on-scroll/657c91e53b2b738f8bcb8a57/comment/6581495679cac34ed3e81715)

Will surely try this in one of my projects.

[Segun Ajibola](https://hashnode.com/@segunajibola)

[Dec 19, 2023](https://hashnode.com/posts/change-navbar-background-color-on-scroll/657c91e53b2b738f8bcb8a57/comment/6581495679cac34ed3e81715#reply-6581932ddce0028533e0a93b)

Nice to hear, let me know if you have further questions about it.

Thanks for reading too.
