This chapter takes a closer look inside both the breakpoint and responsive_image modules.
breakpoint
responsive_image