Skip to content

Commit 503508f

Browse files
committed
custom scrollbar
1 parent 3f1ad9a commit 503508f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

css/style.css

+16
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ html,body{
1515
font-family: 'Poppins', sans-serif;
1616
}
1717

18+
::-webkit-scrollbar {
19+
width: 6px;
20+
}
21+
22+
::-webkit-scrollbar-track {
23+
background: #ffffff00;
24+
}
25+
26+
::-webkit-scrollbar-thumb {
27+
background: rgba(0, 0, 0, 0.165);
28+
}
29+
30+
::-webkit-scrollbar-thumb:hover {
31+
background: rgba(0, 0, 0, 0.22);
32+
}
33+
1834
.backdrop{
1935
backdrop-filter: blur(150px);
2036
}

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<div class="w-64 h-64 absolute bottom-10 right-24 bg-blue-600 rounded-full hidden sm:block"></div>
5252
<div class="w-48 h-48 absolute bottom-1/2 right-1/2 bg-blue-300 rounded-full"></div>
5353
</div>
54-
<div id="back" class="backdrop w-full h-full z-10 ">
54+
<div id="back" class="backdrop w-full h-full z-10">
5555

5656
<div aria-live="assertive" x-show="copyalert" class="z-20 fixed inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start" style="display: none;">
5757
<div class="w-full flex flex-col items-center space-y-4 sm:items-end">
@@ -230,7 +230,7 @@
230230
</div>
231231
<div class="h-24 w-full flex flex-col-reverse gap-2 sm:gap-0 sm:flex-row items-end justify-center sm:justify-between py-5 flex-shrink-0">
232232
<div class="sm:w-56 hidden sm:block"></div>
233-
<div class="w-full text-gray-300 flex justify-center text-sm">Powered By <a target="_blank"
233+
<div class="w-full text-gray-400 flex justify-center text-sm">Powered By <a target="_blank"
234234
href="https://github.com/unitythemaker"
235235
class="mx-1 text-black hover:text-gray-700">UnityTheMaker</a> & <a target="_blank"
236236
href="https://github.com/0fatihyildiz" class="mx-1 text-black hover:text-gray-700">0fatihyildiz</a>

0 commit comments

Comments
 (0)