Home  >  Q&A  >  body text

javascript - 手机页面,scrollHeight为啥不等于scrollTop和clientHeight相加

如题,手机页面,scrollHeight为啥不等于scrollTop和clientHeight相加

阿神阿神2718 days ago608

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:27:23


    Can they be equal

    reply
    0
  • 阿神

    阿神2017-04-17 15:27:23

    It is recommended that the subject take a look at the js box model. Each attribute is explained in detail and you can see which part each attribute corresponds to.

    reply
    0
  • Cancelreply