Ma usare javascript nativo?

var foo=document.getElementById('idElementoQui');

getComputedStyle(foo,null).getPropertyValue('margin-top');