I am trying to add some style elements to my jquery code.
My objective is to be able to position a box absolutely after the person has scrolled down the screen after 200px.
The box reduces in size after a 200px scroll but i want to have the ability to position the box where i want.
Here is my code.
Can some one guide me on where I am going wrong.
  $( window ).scroll(function() {
     if($(window).scrollTop() > 200){
       $('#profile-pic-bg').css({'width': '50'});
        $("#profile-pic-bg").css({ position: "absolute", top: "20", left:"5" });
     }else{
         $('#profile-pic-bg').css({'width': '145'});
     }
});
 
     
    