Skip to content

Commit eb082f2

Browse files
committed
[css-properties-values-api] Add small intro to section 2.
1 parent f17db8a commit eb082f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-properties-values-api/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ allow custom properties to directly impact paint and layout behaviours respectiv
7171
Registering Custom Properties {#registering-custom-properties}
7272
==============================================================
7373

74+
To register a custom property via JS,
75+
the {{CSS}} object is extended with a {{registerProperty()}} method:
76+
7477
<pre class='idl'>
7578
dictionary PropertyDefinition {
7679
required DOMString name;

0 commit comments

Comments
 (0)