Community
cancel
Showing results for 
Search instead for 
Did you mean: 
John_T_3
Beginner
35 Views

CSS @import doesn't work at live-view on device over wifi

Hello

Changing style-elements in a css-file that is imported by a main-css-file(index.css for example) with the @import-derective doesn't work. Changes in those css-files are completely ignored. The only solution is to import all the css-files with the <link rel="stylesheet"> tag in the index.html file.
A bug or settings that have to be adjusted?

 

Thx,

J

Tags (2)
0 Kudos
1 Reply
Elroy_A_Intel
Employee
35 Views

You are seeing this issue because @import causes the specified css file to be downloaded when the parent css file is being loaded. Any changes that you make will not show up unless you reload the page since this page is not being constantly watched for changes.

Reply