modify margin top javascript
snippet in javascript

modify margin top javascript

user6811

window.onscroll = function() { document.getElementById('id').style.margin = '40px 0 0 0' }