css multi browser fix trial 1

This commit is contained in:
YasinOnm08 2024-10-02 10:24:30 +02:00
parent caa02ee81e
commit 6d71e17e61
5 changed files with 32 additions and 7 deletions

View file

@ -4,6 +4,31 @@ body {
position: relative;
}
/* Chrome, Edge, and Safari */
::-webkit-scrollbar {
width: 12px;
/* Adjust width for horizontal and vertical scrollbars */
}
::-webkit-scrollbar-track {
background: #f0f0f0;
/* Background of the scrollbar track */
}
::-webkit-scrollbar-thumb {
background-color: #888;
/* Color of the draggable part (thumb) */
border-radius: 10px;
/* Rounded corners */
border: 2px solid #f0f0f0;
/* Space around the thumb */
}
::-webkit-scrollbar-thumb:hover {
background-color: #555;
/* Thumb color on hover */
}
body {
background-color: var(--background-color);
color: var(--text-color);