On certain internet connections I’ve found with certain sites such as Facebook, the CSS doesn’t load. But then on those same connections certain sites such as StackOverflow, the site still works fine.
My question is, why does it act this way? and how can I program in such a way that it loads like StackOverflow?
Depending on the answer to the first question the second question might not be entirely relevant.
The CSS could be being filtered if it is on a CDN by certain router set ups, also the CSS (in the case of facebook) could be being updated and for a split second was unavailable.
Best thing in this case is to update the browser in question do a Ctrl + F5 (Windows, Linux) or Cmd + R (Mac) and force refresh the content and see if the CSS comes down.