JS function that can return all possible values for a css property?

Anyone know if there is a js function that can return all possible values / options for a css property?

For example, for “display”, the return value would be ‘block’, ‘inline-block’, ‘flex’, etc.

There is getComputedStyle() generates the values of all of the CSS properties of an element.

1 Like