I'm trying to load Twitter Bootstrap (and Font Awesome) via CDN. I've put the appropriate
<link>s in the
<head> block of my index.html. I also have my own styles.css file that defines my custom overrides to Bootstrap, such as changing the body font. However it seems that my styles.css file is always loaded
first in the processed HTML, before the external CDN-loaded styles; so my styles get overridden unless I carefully append lots of
!important declarations throughout my styles.
I know I can also solve this problem by adding the bootstrap package, if I'm willing to sacrifice the CDN speed boost, but . . . shouldn't this not be the default behavior? Shouldn't any custom .css files in my project automatically be loaded last, after any CSS declarations in any files' <head> blocks and after any .css files loaded by any packages? Is there a way, other than lots of !important declarations, to use a CDN-loaded CSS file and then add my own customizations?