From 5e8c63b220c54429051c039961310926776c5d17 Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Date: Sun, 30 Jun 2019 23:53:17 +0700 Subject: [PATCH] Add pre scrollbar custom like hermit --- assets/scss/_normalize.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/assets/scss/_normalize.scss b/assets/scss/_normalize.scss index 192eb9c..0745846 100644 --- a/assets/scss/_normalize.scss +++ b/assets/scss/_normalize.scss @@ -8,6 +8,21 @@ * 2. Prevent adjustments of font size after orientation changes in iOS. */ +/* Webkit Scrollbar Customize */ +::-webkit-scrollbar { + width: 8px; + height: 8px; + background: #212020; +} + +::-webkit-scrollbar-thumb { + background: #888; + + &:hover { + background: #dcdcdc; + } +} + html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */