/* Set initial color value */
initial-value: rebeccapurple;
/* Set initial length value */
initial-value: 16px;`initial-value` CSS at-rule descriptor / notebook
`initial-value` CSS at-rule descriptor
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
@property --my-color {
syntax: "<color>";
inherits: false;
initial-value: #c0ffee;
}window.CSS.registerProperty({
name: "--my-color",
syntax: "<color>",
inherits: false,
initialValue: "#c0ffee",
});