- From: timeless <timeless@gmail.com>
- Date: Sun, 4 Jul 2010 05:16:24 +0300
2010/7/3 Andr? Lu?s <andreluis.pt at gmail.com>: > (alt-option 1) Trying to step away from the solution presented, I can > only imagine something along the lines of different src attributes for > different resolutions: > > <img src="imgs/standard-def.png" src-2x="imgs/high-def.png"> > <video src="movs/sd.ogv" src-2x="movs/hd.ogv"> <img lowsrc> used to exist: http://www.htmlcodetutorial.com/images/_IMG_LOWSRC.html it's mostly gone now. I think that if someone wants to be fancy they can use the existing features (min-device-pixel-ratio, alternate stylesheets) and hide the <img> content and replace it with background images or something.
Received on Saturday, 3 July 2010 19:16:24 UTC