How I can get an exact number of pixels of a specific element, I have to implement animation on the page scroll.
Give the element an ID
var width = document.getElementById('foo').offsetWidth;
This topic was automatically closed after 70 days. New replies are no longer allowed.