What is Nostr?
Axel Rauschmayer /
npub10fa…rdvy
2024-06-21 16:23:50

Axel Rauschmayer on Nostr: I used (a)import in the middle of a CSS file (not at the top). Worked in Chrome but ...

I used (a)import in the middle of a CSS file (not at the top). Worked in Chrome but not in Safari.

MDN says: “An (a)import rule must be defined at the top of the stylesheet, before any other at-rule (except (a)charset and (a)layer) and style declarations, or it will be ignored.”
https://developer.mozilla.org/en-US/docs/Web/CSS/@import
Author Public Key
npub10faqj7xvgmhhl42glvf9u5wqfhnafjnrjst6yx6k4227xugupvuqzardvy