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

【疑问】关于@charset #7

Open
cooper1x opened this issue Jan 31, 2019 · 0 comments
Open

【疑问】关于@charset #7

cooper1x opened this issue Jan 31, 2019 · 0 comments

Comments

@cooper1x
Copy link

代码规范 | Aotu.io - 前端代码规范

@charset规则一定要在样式文件的第一行首个字符位置开始,否则的话就会有机会让 BOM 设置生效(如果有设置 BOM 的话)而优于 @charset 作为样式表的编码

我看到了这段话,@charset这个可以干掉BOM么?如果可以的话怎么验证呢?如果不行这个加上去就没什么意义了吧。。。

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