---
title: "Discussion on \"How to hide default scrollbar in CSS\" | Hashnode"
description: "Discussion on \"How to hide default scrollbar in CSS\". .hide-scrollbar::-webkit-scrollbar{\n  display: none;\n}"
url: "https://hashnode.com/posts/how-to-hide-default-scrollbar-in-css/6528016556080cf5f333a19d"
---

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

Discussion

# [How to hide default scrollbar in CSS](https://saurabhsuryavanshi.hashnode.dev/how-to-hide-default-scrollbar-in-css?utm_source=hashnode&utm_medium=feed)

.hide-scrollbar::-webkit-scrollbar{ display: none; }

Oct 12, 2023 · 1 min read · saurabhsuryavanshi.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#scrollbar](https://hashnode.com/tag/scrollbar)
-   [#default-scrollbar-css](https://hashnode.com/tag/default-scrollbar-css)

## Written by

[saurabh suryavanshi](https://hashnode.com/@saurabhsuryavanshi)

@saurabhsuryavanshi

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
