Left, center, and right align divs on bottom of same line

前端 未结 6 1867

I have three divs that I would like to display on the same line. Each of the three has different widths and heights, and they are not straight text. I\'d like to left-align one

6条回答
  •  长情又很酷
    2021-02-05 09:26

    Set position: relative on the containing div, set position: relative on your 3 divs, and set the bottom attribute of the 3 divs to 0:

    bottom: 0
    

提交回复
热议问题