浏览代码

add smooth scrolling

godalming123 1年前
父节点
当前提交
f28567ecb6
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      index.md

+ 6
- 0
index.md 查看文件

@@ -1,3 +1,9 @@
1
+<style>
2
+  html {
3
+    scroll-behavior: smooth; /* smooth scrolling */
4
+  }
5
+</style>
6
+
1 7
 Light - A program to control backlights (and other hardware lights) in GNU/Linux
2 8
 ==================================================
3 9