Referencing a .css file in github repo as stylesheet in a .html file

Important: rawgit.com is shutting down. Read more about other alternatives here – https://rawgit.com/


Found something really cool. You get the raw link as: http://raw.github.com/...

Simply fetch the files from rawgit.com (or cdn.rawgit.com) instead of raw.github.com and DONE!

UPDATE:

You can also use raw.githack.com if you want to serves raw files directly from Bitbucket or GitLab

Leave a Comment