Use the window of the element to get the computed styles for it