You could do it with jQuery using position
or offset
:
$('article').each(function(){
var position = $(this).position();
console.log("top: " + position.top + " left: " + position.left);
});
Take into account that position
is relative to the document and offset
calculates the coordinates relative to the parent offset element.