“CSS Custom Scrollbar” Code-Antworten

Benutzerdefinierte Scrollbar

body::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}
body::-webkit-scrollbar-track {
  background: orange;        /* color of the tracking area */
}
body::-webkit-scrollbar-thumb {
  background-color: blue;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid orange;  /* creates padding around scroll thumb */
}
Elated Eagle

CSS -Scrollleiste bearbeiten

::-webkit-scrollbar{width:6px;border-left:1px solid #E6ECF8;}
::-webkit-scrollbar-thumb{background-color:#d6872c;}
Doubtful Dog

Custom Scrollbar CSS

/* transparent scrollbar */
div::-webkit-scrollbar {
  width: 12px;
}

div::-webkit-scrollbar-thumb {
  border: 2px solid #ffffff2f;
  border-radius: 20px;
}
shahul

CSS Custom Scrollbar

::-webkit-scrollbar { } /* Entrie scrollbar*/
::-webkit-scrollbar-track { } /* Scrollbar track */
::-webkit-scrollbar-thumb { } /* Scrollbar thumb */
Code Cat

CSS Custom Scrollbar


body::-webkit-scrollbar {
    @apply w-[10px] bg-[#0b1120];
}
body::-webkit-scrollbar-track {
    @apply bg-slate-200 dark:bg-[#0B1120];
}
body::-webkit-scrollbar-thumb {
    @apply rounded-xl bg-gray-600 dark:bg-slate-700;
}
Condemned Cat

Style Scrollbar

/* Chrome, safari */
*::-webkit-scrollbar {
	width: 8px;
}

*::-webkit-scrollbar-thumb {
	background-color: gray;
}

/* Firefox */
.selector {
		scrollbar-width: none;
	}
Runtime Terror

Ähnliche Antworten wie “CSS Custom Scrollbar”

Fragen ähnlich wie “CSS Custom Scrollbar”

Weitere verwandte Antworten zu “CSS Custom Scrollbar” auf CSS

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen