ตัวปรับแต่งแถบเลื่อน

ปรับแต่งสีและขนาดของแถบเลื่อน จากนั้นคัดลอก CSS

แถบเลื่อนออนไลน์ฟรี CSS เครื่องมือปรับแต่ง

แถบเลื่อนเบราว์เซอร์เริ่มต้นไม่ตรงกับการออกแบบของคุณเสมอไป เครื่องมือปรับแต่งแถบเลื่อนของ Dokall ช่วยให้คุณสามารถเลือกแทร็กและสีนิ้วหัวแม่มือ กำหนดความกว้าง และดูตัวอย่างผลลัพธ์แบบเรียลไทม์ก่อนที่จะคัดลอก CSS

CSS ที่สร้างขึ้นมีทั้งกฎที่เข้ากันได้กับ WebKit และ Firefox วางตัวอย่างข้อมูลลงในสไตล์ชีตของคุณเพื่อรับประสบการณ์การเลื่อนที่สวยงามตามแบรนด์

Frequently Asked Questions

What CSS does this tool generate?
Dokall generates CSS for custom scrollbar styling using both WebKit pseudo-elements (::-webkit-scrollbar) and the standard scrollbar-width and scrollbar-color properties. Copy the CSS into your stylesheet.
Do custom scrollbars work in all browsers?
WebKit scrollbar styles work in Chrome, Safari, Edge, and Opera. Firefox uses scrollbar-width and scrollbar-color. For cross-browser support, include both sets of rules. The tool generates both automatically.
Can I preview the scrollbar before copying?
Yes. Adjust colors, width, border radius, and track styling in the live preview panel. The preview scrollbar updates in real time as you change settings.
Will custom scrollbars affect performance?
No. Scrollbar CSS is purely visual and has no measurable performance impact. The browser renders the scrollbar using your colors and dimensions instead of the system default.
Can I style scrollbars in a React or Vue app?
Yes. Copy the generated CSS into a global stylesheet or a CSS module. For component-scoped styles, apply the scrollbar rules to a container class. WebKit pseudo-elements do not work with CSS-in-JS inline styles - use a stylesheet.