Two divs side by side - Fluid display

后端 未结 8 984
你的背包
你的背包 2020-11-22 03:09

I am trying to place two divs side by side and using the following CSS for it.

#left {
  float: left;
  width: 65%;
          


        
8条回答
  •  抹茶落季
    2020-11-22 03:39

    Make both divs like this. This will align both divs side-by-side.

    .my-class {
      display : inline-flex;
    } 
    

提交回复
热议问题