We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ab5e7 commit 67612d6Copy full SHA for 67612d6
scss/_variables.scss
@@ -23,3 +23,5 @@ $code-color: #e83e8c !default;
23
24
$lead-font-size: 1.75rem !default;
25
$lead-font-weight: 400 !default;
26
+
27
+$enable-smooth-scroll: false;
scss/main_bs5.scss
@@ -4,6 +4,28 @@
4
// flush footer to bottom
5
html {
6
height: 100%;
7
8
+ // smooth scrolling only when clicking between sections.
9
+ animation: smoothscroll1 1s;
10
11
+ &:focus-within {
12
+ animation-name: smoothscroll2;
13
+ scroll-behavior: smooth;
14
+ }
15
+}
16
17
+@keyframes smoothscroll1 {
18
+ from,
19
+ to {
20
21
22
+@keyframes smoothscroll2 {
28
29
}
30
31
body {
0 commit comments