Positioning a div near bottom side of another div

后端 未结 4 514
暗喜
暗喜 2021-01-30 01:55

I have outer div and inner div. I need to place inner div at the bottom of the outer one.

Outer div is elastic (width: 70% for example). I also need to center inner bloc

4条回答
  •  温柔的废话
    2021-01-30 02:38

    You need a wrapping div for the bottom one, in order to center it.

    
    
    
    

提交回复
热议问题