How to shrink an image width based on scroll position

前端 未结 0 1260
梦毁少年i
梦毁少年i 2021-02-11 02:30

I\'m looking to shrink a logo based on scroll

So far, I have something like this

logoSize = function(){
    var headerOffset = $(window).height() - 650;
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题