Skip to content

Instantly share code, notes, and snippets.

@sadasant
Created August 6, 2012 15:26
Show Gist options
  • Save sadasant/3275528 to your computer and use it in GitHub Desktop.
Save sadasant/3275528 to your computer and use it in GitHub Desktop.
Reload CSS with jQuery
$($('link')[0]||$('style')[0]).remove();$.get('/css/style.css', function(d){$('head').append($('<style/>').html(d))})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment