---
title: "google chrome - Webkit scrollbar CSS, always a white box in co..."
description: "!https://stackoverflow.com/questions/35968553/webkit-scrollbar-css-always-a-white-box-in-corner"
date: 2024-04-09
published: true
tags:
  - dev
  - thought
  - webdev
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://stackoverflow.com/questions/35968553/webkit-scrollbar-css-always-a-white-box-in-corner" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-content">
      <div class="embed-card-title">External Link</div>
      <div class="embed-card-meta">stackoverflow.com</div>
    </div>
  </a>
</div>


This is how you fix the stupid corner section of a double scroll bar being white on a dark theme site.


``` css
::-webkit-scrollbar-corner {
  background: rgba(0,0,0,0);
}
```

The question included an example image where you can see white squares everywhere there are horizontal and vertical scroll bars.

![the corner](https://i.stack.imgur.com/P6b7f.png)
