Skip to content

Commit 4a68f4b

Browse files
committed
Added recommendation to set CORS headers per @stephenwf 📝
1 parent 45ab6a8 commit 4a68f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎recipe/0045-css/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CSS can be added in 3 ways: inline, with an inline stylesheet, or with an extern
2424

2525
For an inline stylesheet, the `stylesheet` property has two subsidiary properties, `type` and `value`. The `type` value is invariantly `CssStylesheet`, and the `value` is a CSS rule for a class whose name is the same as the `styleClass` value used in the Annotation's `target`.
2626

27-
For an external stylesheet, the `stylesheet` property value is a string containing the stylesheet's URI.
27+
For an external stylesheet, the `stylesheet` property value is a string containing the stylesheet's URI. It is advisable to set appropriate CORS headers for the stylesheet to improve its chances of working in generic viewers.
2828

2929
## Restrictions
3030

0 commit comments

Comments
 (0)