Also, as an aside:
> For example, by detecting whether the browser supports the Calibri font family, we can assume that the browser is running in Windows
I’m pretty sure that Safari has stopped allowing the use of third party fonts for exactly this reason, and now reports a standard set of fonts as being available.
One big selling point for CSS was to separate layout and content exactly to allow other people to write CSS.
input[type="button"]:active { background-image: url('http://www.google-analytics.com/collect?v=1&_v=j23&a=...'); }
https://www.smashingmagazine.com/2014/10/css-only-solution-f...