Skip to content

Commit

Permalink
feat: add the custom scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafacagri committed Jun 27, 2024
1 parent 3e32e2e commit 8ef07af
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/assets/styles/css/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

/* WebKit scrollbar styles */
::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-thumb {
background: #e1e1e1;
border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
background: #d1d1d1;
}

/* Firefox scrollbar styles */
body {
scrollbar-width: thin; /* "auto" or "thin" */
scrollbar-color: #e1e1e1 #ffffff; /* thumb and track colors */
}

body::-webkit-scrollbar {
width: 10px;
}

body::-webkit-scrollbar-thumb {
background: #e1e1e1;
border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
background: #d1d1d1;
}

0 comments on commit 8ef07af

Please sign in to comment.