How can I position my div at the bottom of its container?

前端 未结 24 2773
广开言路
广开言路 2020-11-22 00:46

Given the following HTML:



        
24条回答
  •  粉色の甜心
    2020-11-22 01:24

    Also, if there's stipulations with using position:absolute; or position:relative;, you can always try padding parent div or putting a margin-top:x;. Not a very good method in most cases, but it may come in handy in some cases.

提交回复
热议问题