ZeroOne 技術文章第 10 頁
CSS transition-behavior 怎麼用?用 allow-discrete 做 display 的進出場轉場
2026-08-08
CSS transition-behavior 的 allow-discrete 可以讓 display、content-visibility 等離散屬性參與轉場。本文用 Popover 與一般卡片示範進出場、@starting-style、瀏覽器退路與可及性檢查,避免元素直接消失。
1487 字
|
7 分鐘
Astro 7 升級前要檢查什麼?從 Astro 5/6 到 Vite 8 的建置清單
2026-08-07
Astro 7.2.2 修正 fallback dev、incremental build、Cloudflare 圖片、ImageNotFound 與 content ID。本文整理 Astro 5/6 升級到 Astro 7、Vite 8、Rust compiler 與 Markdown pipeline 的檢查法。
2125 字
|
11 分鐘
Cloudflare 1.1.1.1 DoH JSON 變了怎麼辦?先避免硬編碼 data 格式
2026-08-07
Cloudflare 1.1.1.1 的 DoH JSON API 正在調整 additional record 的 data 格式,可能同時收到新舊回應。本文用 curl、record type 與 wireformat 分流,整理解析與遷移方式,適合處理 CAA、SVCB、HTTPS 與 DNSSEC。
1294 字
|
6 分鐘
CSS interpolate-size 怎麼用?讓 height: auto 動畫保留 fallback
2026-08-07
CSS interpolate-size: allow-keywords 可讓元素在固定尺寸與 auto、max-content 等 intrinsic size 之間過渡。本文用可展開面板說明 fallback、calc-size()、overflow、可存取性與瀏覽器支援邊界。
1421 字
|
7 分鐘
Docker Compose Watch 怎麼用?用 sync、rebuild 分開本機開發流程
2026-08-07
Docker Compose Watch 會根據檔案變更同步、重啟或重建服務。本文用 develop.watch 拆分原始碼、設定檔與依賴檔,並說明 Docker Compose 版本、權限、ignore 與 node_modules 的排錯重點。
1361 字
|
7 分鐘
Dependabot 分支名稱怎麼改?用 pull-request-branch-name 對齊 CI
2026-08-06
Dependabot 現在能在 dependabot.yml 自訂 pull request 分支的前綴、分隔符號、大小寫與長度。本文整理基本設定、template、截斷雜湊與 CI 分支規則的驗證方式。
1350 字
|
7 分鐘
GitHub Actions reusable workflow 的 secrets: inherit 怎麼用?
2026-08-06
GitHub Actions reusable workflow 不會自動收到 caller 的 secrets。本文比較明確傳遞與 secrets: inherit,整理直接呼叫、巢狀 workflow、environment secrets 與 Dependabot 的排錯邊界。
1485 字
|
7 分鐘
GitHub Code Scanning default setup 怎麼共用 CodeQL 設定檔?
2026-08-06
GitHub Code Scanning default setup 現在可用 github-codeql-config-file 套用自訂 CodeQL 設定。本文整理中央設定檔、repository property、私有 registry 與組織 rollout 的驗證順序。
1340 字
|
7 分鐘