position:absolute的方位順序是top right bottom left,為什么position:relative的方位順序就要left在top前才顯示效果
position:relative;
left:100px;
top:50px;
position:relative; left:100px; top:50px;
和
position:relative;
top:50px;
left;100px
position:relative; top:50px; left;100px
的區(qū)別
2020-03-11
其實順序不一樣,效果應該一樣的,你可以試試
2019-11-07
2019-10-29
這里要使用: (冒號)
2019-10-23
因為position:relative的方位順序是left right top bottom,是相對于以前的位置移動