前端開發之佈局和定位

在實際開發過程當中,咱們通常使用display,float,position來構建頁面佈局。css 定位 static:無特殊定位,對象遵循正常文檔流。top,right,bottom,left等屬性不會被應用。 relative:對象遵循正常文檔流,但將依據top,right,bottom,left等屬性在正常文檔流中偏移位置。而其層疊經過z-index屬性定義。 absolute:對象脫離正常
相關文章
相關標籤/搜索