Browse Source

Scroll behavior (#5182)

* Make HTML scroll behavior smooth.

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth.

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Make HTML scroll behavior smooth

To make the site more professional, I add smoothness to the HTML scroll behavior

* Update beta/src/styles/algolia.css

Co-authored-by: Strek <ssharishkumar@gmail.com>

* Update src/css/algolia.css

Co-authored-by: Strek <ssharishkumar@gmail.com>

* Update beta/src/styles/sandpack.css

Co-authored-by: Strek <ssharishkumar@gmail.com>

Co-authored-by: Strek <ssharishkumar@gmail.com>
main
Adnan Is-haq Olamilekan 2 years ago
committed by GitHub
parent
commit
641f20a9b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/styles/index.css
  2. 1
      src/css/reset.css

2
beta/src/styles/index.css

@ -45,9 +45,9 @@
/* Write your own custom base styles here */
html {
color-scheme: light;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
scroll-behavior: smooth;
}
html.dark {

1
src/css/reset.css

@ -12,6 +12,7 @@ html {
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
scroll-behavior: smooth;
}
body {

Loading…
Cancel
Save