Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSS Sprites vs. Data URIs

Guille Paz
January 10, 2014

CSS Sprites vs. Data URIs

Are Data URIs better than CSS Sprites?
@pazguille & @taly

Guille Paz

January 10, 2014
Tweet

More Decks by Guille Paz

Other Decks in Programming

Transcript

  1. <img src=“data:image/png;base64,IVBOR...”> • data - name of the scheme ◦

    image/png - content type • base64 - type of encoding used to encode
  2. <img src=“data:image/png;base64,IVBOR...”> • data - name of the scheme ◦

    image/png - content type • base64 - type of encoding used to encode • IVBOR… - the encoded data