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

CSS: カスケーディングスタイルシート > @import の更新 #740

Open
happynow opened this issue Feb 10, 2024 · 0 comments
Open
Labels

Comments

@happynow
Copy link

更新対象ページ (日本語 URL)

https://developer.mozilla.org/ja/docs/Web/CSS/@import

更新内容・備考・ヘルプ

訳文の括弧書きを(@charset@layer)から(@charset@layer を除く)としたほうが誤解がないと思います。

訳文

@import ルールはスタイルシートの最上位で、他のアットルール(@charset@layer)やスタイル宣言の前に定義する必要があり、そうしなければ無視されます。

原文

@import rule must be defined at the top of the stylesheet, before any other at-rule (except @charset and @layer) and style declarations, or it will be ignored.
https://developer.mozilla.org/en-US/docs/Web/CSS/@import

@happynow happynow added the MDN label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant