search

Home  >  Q&A  >  body text

前端 - transform: translateY(-50%);无效的原因是什么?

transform: translateY(-50%);无效的原因是什么?

十分无奈地,我发现把jQm的js去除之后,问题就解决了,所以到底是为什么...

伊谢尔伦伊谢尔伦2782 days ago1359

reply all(2)I'll reply

  • 伊谢尔伦

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

    1, may not have a browser prefix, such as -webkit
    2, may not set the height of the element

    reply
    0
  • 黄舟

    黄舟2017-04-17 11:33:25

    How to answer without code? It is recommended to pass down runjs and ask again

    reply
    0
  • Cancelreply