diff --git a/css/styles.css b/css/styles.css index 3eac169..da5ea95 100644 --- a/css/styles.css +++ b/css/styles.css @@ -95,11 +95,15 @@ html { -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */ scrollbar-width: none; /* Hide scrollbar for Firefox */ scroll-behavior: smooth; + + overflow: scroll; + overflow-x: hidden; } /* Hide scrollbar for Chrome, Safari and Opera */ .html::-webkit-scrollbar { - display: none; + width: 0; + background: transparent; /* Optional: just make scrollbar invisible */ } #end__of__page { @@ -201,4 +205,4 @@ html { margin-right: 2vw; width: 14vw; } -} \ No newline at end of file +}