原因:设置border时设置了N px边框,多出的这 2N px,与其它元素产生了挤压, 导致div偏移
解决:1.提前设置透明的 1px 的边框
2.可以 提前设置 padding(多加border值)提前占位