Trying to increase the loading speed for mobile devices, and there is at least one CSS document I don't want to be loaded on mobile.
I have already prevented a script from loading, but the CSS document is kinda different.
Here is an example of what I don't want to be loaded on mobile devices:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/animations.css">
Do you have a working solution?
Not sure what tags are the most correct, as this could probably be done by a CSS in the beginning of the document, or jQuery or HTML.