A solution for element level media query.