I am currently experiencing a unique issue with Google Search Console.
It seems that the Mobile Usability test suite fails to load CSS roughly half of the time, resulting in errors in the report.
For reference, here is the affected page:
When the CSS file fails to load, the page appears like this:
While I investigate why Google is struggling to load the CSS, I am looking for a workaround to provide temporary CSS styles to use before the main CSS file loads, for example:
body { background: #040404; color: #e5e7eb; }
a { margin: 10px; display: inline-block; color: #2E8EFB; }
I can inline this CSS directly into the HTML, but it causes conflicts with the main CSS once it loads. Is there a way to clear the previous CSS once the new CSS is loaded?