css中fixed佈局嵌套的問題

1.若父級用了fixed佈局,或者transform,則子元素用fixed佈局會受影響。 (子元素的fiexd佈局是相對於父元素的了)。html html,body{ width: 100%; height: 100%; } .parent{ transform: translate(50%,5
相關文章
相關標籤/搜索