html5中<img src="" data-fullsrc=""> data-fullsrc 属性作用?
例:
<img src="small.jpg" data-fullsrc="large.jpg">
Date-fullsrc是html5中的一个定义文件的属性,宽度超过480px的屏幕,就会加载较大分辨率的图片(large.jpg),小屏幕分辨率的就会加载较小的图片(small.jpg)。
Reference:
http://filamentgroup.com/lab/responsi...