8000 【疑问】关于@charset · Issue #7 · o2team/guide · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
【疑问】关于@charset #7
Open
@cooper1x

Description

@cooper1x

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0