Code Snippets – load SVGs over png + Retina

Code Snippets – load SVGs over png + Retina

Todays Code Snippet is a simple bit of javascript to replace images with their SVG or Retina counterparts, whilst keeping the original images size and supporting browsers without SVG support.   SVG’s are Scalable Vector Graphics, meaning instead of being pixel-based images, they are a set of mathmatically calculated shapes allowing them to be scaled to any […]