Galen and Sheyna's Redesign of Loann and Marissa's Page

Is this the right way to change images via a media query? Sheyna and I were really wondering whether this was improperly hack-y or not. It... works on the browser. Do you know of any problems down the line or performance wise by inserting images via changing the "content" property?