search

Home  >  Q&A  >  body text

css3 - 求教一个设计图css的写法

第一列右边框那个角,设计师埋了个坑,想了半天,想不出要怎么写,移动端web。

ringa_leeringa_lee2784 days ago679

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 11:15:10

    Write a p, and the background is the color behind it. Hide two edges, rotate p to a certain angle, and position it at the corresponding position.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 11:15:10

    @元宇 Thank you for your answer
    http://codepen.io/lishengzxc/pen/waeELg There is no browser private attribute, and there is no problem opening chrome

    You may think that the color of the triangle is hard to write, but it’s okay. There are many ways, such as using css3’s attr to do it

    reply
    0
  • Cancelreply