Trying to use @import url('myfile.css'); in my css file in Adobe AIR but it's not working.
I have tried variations such as url('file:///myfile.css') and url('file:///abs/path/myfile.css') and none of it seems to be working.
Trying to use @import url('myfile.css'); in my css file in Adobe AIR but it's not working.
I have tried variations such as url('file:///myfile.css') and url('file:///abs/path/myfile.css') and none of it seems to be working.
It works for me, simply:
@import 'myfile.css';
If this doesn’t work (remember, that the path is relative to the CSS file, or HTML document if it’s in a style
tag), try using the app://
prefix, because that’s the correct path to your projects document root.