recherche

Maison  >  Questions et réponses  >  le corps du texte

css3 - 怎样用flew布局成 左边边两列 右边三列的布局?

如图 怎样做成这样的布局 移动端自适应 我现在是左边的第一个p 高度不能自动适应 求指点

天蓬老师天蓬老师2873 Il y a quelques jours580

répondre à tous(2)je répondrai

  • 阿神

    阿神2017-04-17 11:55:55

    是这个意思吗?
    https://jsfiddle.net/d9h7oht8/

    répondre
    0
  • 阿神

    阿神2017-04-17 11:55:55

    谢谢您 通过你的答案 我又修改了一下

    item1 {
    flex: 2
    }

    item2 {
    flext: 1;
    }

    这样一修改 不需要height就可以达到效果了 谢谢你啊

    répondre
    0
  • Annulerrépondre