search

Home  >  Q&A  >  body text

css3 - jquery div 翻轉?

請問jquery是否可以做到p區塊翻轉的效果?
就是像翻開一張牌一樣
是否有範本可以提供呢

迷茫迷茫2786 days ago578

reply all(4)I'll reply

  • 迷茫

    迷茫2017-04-17 11:52:33

    transform:scale(x,y); just give negative values ​​to x and y

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 11:52:33

    css3 3d may be able to help you, you can check it out.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 11:52:33

    Just control the CSS transform
    English
    Chinese
    MDN

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:52:33

    If it’s like a flop, I’ve seen Changyou’s page before which has a similar effect
    http://www.changyou.com/index...

    The roughly used attributes are:
    backface-visibility: hidden; transform:rotateY() transition

    Roughly two p’s, one for the front and one for the back, use transform to flip it

    You can study it.

    A long time ago, I made a little game based on it. If you don’t mind, you can also refer to it: http://shellphon.wang/funs/ma...

    reply
    0
  • Cancelreply