From 7e8476398475bcaf2dec8325255f8f55f271bc0e Mon Sep 17 00:00:00 2001 From: Randy8080 Date: Sun, 3 Jan 2021 15:52:14 +0800 Subject: [PATCH] Added css tricks --- css.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/css.md b/css.md index a9774ea..1cfc0ce 100644 --- a/css.md +++ b/css.md @@ -1064,6 +1064,18 @@ li::before { ``` +Css 3 tricks {.cols-3} +------------ + +### Scrollbar smooth +```css +html { + scroll-behavior: smooth; +} +``` +[Click me](#getting-started), the page will scroll smoothly to Getting started + + See also {.cols-1}