Time:09-26
CodePudding user response:
add a float, float
div is not inline block elements, this is a different concept, had better not use absolute positioning to achieve layout, conventional layout using float, you can also use the grid, flex fluid layout, such as flexible layout
Page link:https//www.codepudding.com/frontend/32686.html