Basic use
example.css
@document url-prefix("https://example.com/docs/") {
body { font-size: 1.05rem; }
}
The @document at-rule restricted styles by document URL. It is deprecated; prefer other targeting approaches.
@document url-prefix("https://example.com/docs/") {
body { font-size: 1.05rem; }
}@document url-prefix("https://example.com/docs/") {
body { font-size: 1.05rem; }
}@document url-prefix("https://example.com/docs/") {
body { font-size: 1.05rem; }
}Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful