Home > front end >  Consult the elastic layout problem
Consult the elastic layout problem

Time:11-03

Each elder, fixed at the top, I think the picture button fixed on the bottom of the content in the middle, regardless of how to increase the middle, the decrease of the intermediate layout is not disorderly, but I use attributes will be failure, wondering how to implement the

CodePudding user response:

The parent element with relative positioning position: relative;

Button element with absolute positioning position: absolute; Bottom: 0

CodePudding user response:

reference 1st floor FLTmiao response:
parent element with relative positioning position: relative;

Button element with absolute positioning position: absolute; Bottom: 0

But this position from the document flow, button will cover the content of the above
  • Related