<h1>My text color is defined by a custom property</h1>
:root { --text-color: rebeccapurple; } h1 { color: var(--text-color); }
This Pen is owned by Andy Bell on CodePen.
See more by @andy-set-studio on CodePen
This Pen doesn't use any external JavaScript resources.