Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,对于前端开发面试题有一点疑问 #123

Open
Li-Jiacong opened this issue Nov 25, 2018 · 0 comments
Open

你好,对于前端开发面试题有一点疑问 #123

Li-Jiacong opened this issue Nov 25, 2018 · 0 comments

Comments

@Li-Jiacong
Copy link

在link和@import的区别那里提到
页面被加载的时,link会同时被加载,而@import引用的CSS会等到页面被加载完再加载;
这个我查阅相关资料发现这个结论是不正确的(希望您能进一步核实)
无论是@import定义的还是link引入的外部样式表,浏览器(chrome)都会按照从上往下的规则解析。
附上链接:https://www.jianshu.com/p/8717bad8e666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant