how to place last div into right top corner of parent div? (css)

前端 未结 5 1049
迷失自我
迷失自我 2020-12-14 05:35

Can I somehow use CSS to place the block2 in top right corner of block1?


Context :

  • block2
5条回答
  •  天涯浪人
    2020-12-14 06:11

     

    text

    block2

    text2

    You can clear:both or clear:left depending on the exact context. Also, you will have to play around with width to get it to work correctly...

提交回复
热议问题