---
title: "Discussion on \"#65 CSS 簡易的滑順捲軸滾動動畫 scroll-behavior\" | Hashnode"
description: "Discussion on \"#65 CSS 簡易的滑順捲軸滾動動畫 scroll-behavior\". ⚠️ 本篇文章已搬遷至 css.im1010ioio.dev，請至新站閱讀完整版。\n\n\n前幾篇我們已經學會怎麼設定 CSS 的滾動範圍，現在我們要再對滾動的操作行為做一些很簡單的設定，就是：滾動時的行為 scroll-behavior 。\n\n一、使用 HTML hash # 連結（錨點），滾動到指定 HTML ID 範圍\n1. hash 錨點的設定\n在 CSS 中指定 ID 時是使用井字號代表，在 HTML 中其實也是一樣的，我們可以使用 <a> 連結連到這個 ID，點了連結後就會在同個畫面中跳..."
url: "https://hashnode.com/posts/css-scroll-behavior/68c97d9152bec86e40818501"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [#65 CSS 簡易的滑順捲軸滾動動畫 scroll-behavior](https://im1010ioio.hashnode.dev/css-scroll-behavior?utm_source=hashnode&utm_medium=feed)

⚠️ 本篇文章已搬遷至 css.im1010ioio.dev，請至新站閱讀完整版。 前幾篇我們已經學會怎麼設定 CSS 的滾動範圍，現在我們要再對滾動的操作行為做一些很簡單的設定，就是：滾動時的行為 scroll-behavior 。 一、使用 HTML hash # 連結（錨點），滾動到指定 HTML ID 範圍 1. hash 錨點的設定 在 CSS 中指定 ID 時是使用井字號代表，在 HTML 中其實也是一樣的，我們可以使用 <a> 連結連到這個 ID，點了連結後就會在同個畫面中跳...

Sep 16, 2025 · 1 min read · im1010ioio.hashnode.dev  
Updated Feb 4  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#css-animation](https://hashnode.com/tag/css-animation)
-   [#scroll](https://hashnode.com/tag/scroll)
-   [#scroll-animation](https://hashnode.com/tag/scroll-animation)
-   [#scroll-behavior](https://hashnode.com/tag/scroll-behavior)

## Written by

[YI-LIN CHEN (Eva)](https://hashnode.com/@im1010ioio)

@im1010ioio · Taipei, Taiwan

  
[View profile](https://hashnode.com/@im1010ioio)

ғʀᴏɴᴛᴇɴᴅ ᴅᴇᴠᴇʟᴏᴘᴇʀ / ᴅᴇsɪɢɴᴇʀ / ᴄʀᴇᴀᴛᴏʀ

Chief Designer @HealthyPlate

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
