Software craftsman @redhat (Bordeaux, France)
Focused on product, tests & quality
Humanist, open source addict, blogger and fan of scuba diving. ♥ code, design and cats
Better Social Widget Lazy Loading
I recently try to make lazy loading social widget. I found a solution I really loved. And i want to share with the community.
I started by creating a CSS sprites for including images in my web page. The solution is pretty simple. I use a fixed size html bloc. And I manualy add 3 links, with all the same background image. I only change the background position to display the good image in each block.
I use the CSS stripes technique to make a single query when I load my page.