How can place an element at the bottom of another element using CSS?
This question already has an answer here:
Add position:relative
to your d1 div
jsFiddle example
Absolutely positioned elements are positioned with respect to their closest positioned ancestor.
链接地址: http://www.djcxy.com/p/75778.html上一篇: 对齐底部的div