---
title: "Discussion on \"#80  Display: none 也可以做 CSS Transition 動畫了？@starting-style 與 transition-behavior: allow-discrete\" | Hashnode"
description: "Discussion on \"#80  Display: none 也可以做 CSS Transition 動畫了？@starting-style 與 transition-behavior: allow-discrete\". ⚠️ 本篇文章已搬遷至 css.im1010ioio.dev，請至新站閱讀完整版。\n\n\n想要 UI 出現時，不只是生硬地「出現」嗎？今天我們要來研究兩個 CSS 的新語法：@starting-style 和 transition-behavior: allow-discrete。他們是專門解決那些從 display: none 這類狀態做成動畫的困境。\n\n一、為什麼會有這兩個新屬性？\n過去在網頁開發中，要為一個從 display: none（完全隱藏）變成可見狀態（例如 display: blo..."
url: "https://hashnode.com/posts/css-starting-style-transition-behavior-allow-discrete/68dd5cdfdeeab59248b1bc7f"
---

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

Discussion

# [#80 Display: none 也可以做 CSS Transition 動畫了？@starting-style 與 transition-behavior: allow-discrete](https://im1010ioio.hashnode.dev/css-starting-style-transition-behavior-allow-discrete?utm_source=hashnode&utm_medium=feed)

⚠️ 本篇文章已搬遷至 css.im1010ioio.dev，請至新站閱讀完整版。 想要 UI 出現時，不只是生硬地「出現」嗎？今天我們要來研究兩個 CSS 的新語法：@starting-style 和 transition-behavior: allow-discrete。他們是專門解決那些從 display: none 這類狀態做成動畫的困境。 一、為什麼會有這兩個新屬性？ 過去在網頁開發中，要為一個從 display: none（完全隱藏）變成可見狀態（例如 display: blo...

Oct 1, 2025 · 1 min read · im1010ioio.hashnode.dev  
Updated Feb 5  
Read the article

-   [#starting-style](https://hashnode.com/tag/starting-style)
-   [#allow-discrete](https://hashnode.com/tag/allow-discrete)
-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#transition-properties-in-css](https://hashnode.com/tag/transition-properties-in-css)
-   [#transition](https://hashnode.com/tag/transition)

## 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.
