-
Notifications
You must be signed in to change notification settings - Fork 67
/
index.css
47 lines (39 loc) · 819 Bytes
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Hide scrollbar for Chrome, Safari, and Opera */
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for Firefox */
.hide-scrollbar {
scrollbar-width: none;
-ms-overflow-style: none; /* IE and Edge */
}
::selection {
background: #8b5cf6;
color: black;
}
/* BROWSER SCROLLBAR */
:root {
--primary: black;
--secondary: #8b5cf6;
/* --secondary: #8f8f8f; */
}
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--secondary) var(--primary);
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 6px;
}
*::-webkit-scrollbar-track {
background: var(--primary);
}
*::-webkit-scrollbar-thumb {
background-color: var(--secondary);
border-radius: 50px;
border: 3px solid var(--secondary);
}