How to place two divs next to each other?

后端 未结 13 2073
孤独总比滥情好
孤独总比滥情好 2020-11-22 05:44

Consider the following code:

13条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 06:12

    Try to use below code changes to place two divs in front of each other

    #wrapper {
      width: 500px;
      border: 1px solid black;
      display:flex;
    }
    

    JSFiddle link

提交回复
热议问题