Przeglądaj źródła

scroll-behavior: smooth; (#6206)

maTh 2 lat temu
rodzic
commit
2feb97e9b9
2 zmienionych plików z 8 dodań i 0 usunięć
  1. 4 0
      p/themes/base-theme/frss.css
  2. 4 0
      p/themes/base-theme/frss.rtl.css

+ 4 - 0
p/themes/base-theme/frss.css

@@ -53,6 +53,10 @@
 		url('../fonts/OpenSans.woff') format('woff');
 }
 
+html {
+	scroll-behavior: smooth;
+}
+
 html, body {
 	margin: 0;
 	padding: 0;

+ 4 - 0
p/themes/base-theme/frss.rtl.css

@@ -53,6 +53,10 @@
 		url('../fonts/OpenSans.woff') format('woff');
 }
 
+html {
+	scroll-behavior: smooth;
+}
+
 html, body {
 	margin: 0;
 	padding: 0;