Css Sibling Absolute Positioning

后端 未结 5 427
温柔的废话
温柔的废话 2020-12-15 14:53

Is there any way to absolutely position a div relatively to its sibling? For example: Inside a div there are two other divs - div1 and div2. I want to absolutely position di

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 15:49

    Depending on your needs, you can float them or position both absolute with appropriate left/top/right/bottom values.

    Post your markup and explain exactly what you're trying to achieve.

提交回复
热议问题