search

Home  >  Q&A  >  body text

html - css布局问题,背景用用div画的三角形是否用absolute与z-index来定位与规定在下方是否是个好方案


如图所示,图中几个正方形我想用p来画,手机在上一层,这该用什么样的布局方式比较恰当呢

PHP中文网PHP中文网2863 days ago696

reply all(2)I'll reply

  • 阿神

    阿神2017-04-17 11:23:40

    I haven’t grasped the key point of your question, but it seems that you want to consider responsive layout. To deal with the background in responsive layout, you can check out the techniques in this blog. It is a very unique method http://ju. outofmemory.cn/entry/22712

    reply
    0
  • 迷茫

    迷茫2017-04-17 11:23:40

    Use canvas or svg to do it

    reply
    0
  • Cancelreply