CSS

When to use link or @import?

DIFFERENCE: Loading Order: 1.Link adds css file first and then compile, while @import will wait until html structure loaded which might influence visual effect. 2.Link parallel downloads css files while @import downloads one by one DOM Supportability: when using DOM changing styles, linked css is OK but imported doesn’t work. Restriction: Link can link JS file… Continue reading When to use link or @import?