...

/

Properties Worthy of Mention

Properties Worthy of Mention

Here are some behaviors that are worth mentioning.

We'll cover the following...

1. Custom properties are ordinary properties, so they can be declared on any element.

Declare them on a paragraph element, section, aside, root, or even pseudo-elements. They’ll work as expected.


2. CSS variables are resolved with the normal inheritance and cascade rules

Consider the block of code ...