HTML Element and CSS grabbing including CSS media queries