diff --git a/Components/Scrollbars/Elegant-Custom-Scrollbar/index.html b/Components/Scrollbars/Elegant-Custom-Scrollbar/index.html new file mode 100644 index 00000000..18c1f614 --- /dev/null +++ b/Components/Scrollbars/Elegant-Custom-Scrollbar/index.html @@ -0,0 +1,65 @@ + + + + + + + Document + + + + +
+

Elegant Custom Scrollbar

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente expedita aperiam iste suscipit + cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, minima culpa id velit + consequatur quae?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ipsa sapiente + expedita aperiam iste suscipit cum voluptates voluptatibus facilis incidunt perferendis dolore iure iusto, + minima culpa id velit consequatur quae?

+
+ + + \ No newline at end of file diff --git a/Components/Scrollbars/Elegant-Custom-Scrollbar/style.css b/Components/Scrollbars/Elegant-Custom-Scrollbar/style.css new file mode 100644 index 00000000..0ba2eb71 --- /dev/null +++ b/Components/Scrollbars/Elegant-Custom-Scrollbar/style.css @@ -0,0 +1,49 @@ +* { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.5; + box-sizing: border-box; + color: #44585d; +} + +body { + height: 100vh; + background-color: #ecf0f1; + padding: 1.5rem; + margin: 0; +} + +.container { + background-color: #fdfdfd; + height: 100%; + width: 100%; + border-radius: 6px; + box-shadow: 0 4px 28px rgba(123, 151, 158, .25); + border: 1px solid #d6dee1; + padding: 1rem; + overflow: scroll; +} + +h1 { + margin: 0; + text-align: center; +} + +/* custom scrollbar */ +::-webkit-scrollbar { + width: 20px; +} + +::-webkit-scrollbar-track { + background-color: transparent; +} + +::-webkit-scrollbar-thumb { + background-color: #d6dee1; + border-radius: 20px; + border: 6px solid transparent; + background-clip: content-box; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #a8bbbf; +} \ No newline at end of file diff --git a/assets/html_files/scrollbars.html b/assets/html_files/scrollbars.html index 6376c509..7096fbf5 100644 --- a/assets/html_files/scrollbars.html +++ b/assets/html_files/scrollbars.html @@ -109,7 +109,19 @@

Modern Minimalist Scrollbar

- +
+

Elegant Custom Scrollbar

+
+ + + +
+
+ + + +
+

Rainbow Scrollbar