CoderBridge
  • 探索
  • 閱讀
  • 學習
  • 贊助
  • 社群
會員登入

CSS-[盒子的型態]- inline boxes | inline-block | block


suihsilan in CSS盲:從零開始開學
Sep 08, 2023

直到今天才真的弄清楚,inline-block到底是什麼模樣XD

盒模型 (待補)

三者型態的比較:

inline boxes

inline-block 到底是什麼盒子

什麼時候需要轉型成inline-block?
可能在inline是a標籤作為導覽列時,
需要上方一些margin空間,就會考慮變成inline-block



0 0 0



suihsilan


你可能感興趣的文章

Transformer - 變出近代的強大模型

Transformer - 變出近代的強大模型

weifanhaha
在vue3+Naive UI下使用Vitest取得n-input輸入值

在vue3+Naive UI下使用Vitest取得n-input輸入值

hotmaneil
CSS:object-fit:none的表現

CSS:object-fit:none的表現

Luna





留言討論





解決方案

  • 功能特色
  • FAQ 常見問題
  • Changelog

社群

  • 加入我們的 Discord
  • 建議回饋與功能許願
  • Facebook 粉絲專頁

公司

  • 官方部落格
  • 聯絡我們
  • Follow @CoderBridgeHQ

Country/Region


© Copyright 2022 CoderBridge, Inc. All rights reserved. Various trademarks held by their respective owners. Special Thanks to Freepik. 墨俠科技:83783964.
歡迎回家
使用 Github 帳號登入 使用 Google 帳號登入
免費加入 CoderBridge
使用 Github 帳號註冊 使用 Google 帳號註冊

How would you rate your experience?

Not good at allVery good