position && display的相關總結

確定包含塊的過程完全依賴於這個包含塊的 position 屬性: 如果 position 屬性爲 static 或 relative ,包含塊就是由它的最近的祖先塊元素(比如說inline-block, block 或 list-item元素)或格式化上下文(比如說 a table container, flex container, grid container, or the block co
相關文章
相關標籤/搜索