Re: [css-extensions] Consistent naming for custom arguments

On Mon, May 11, 2015 at 3:19 AM, BangSeongbeom
<bangseongbeom@hotmail.com> wrote:
> Custom properties start with two dash and custom selectors also do.
> For consistent naming, it should be named starting with two dash and wrapped with 'var()'.
All custom things do indeed start their names with two dashes.

The var() function isn't an intrinsic part of the naming; it's just a
function that lets you use a custom property as a variable and
substitute it into a property.  Other uses of custom properties don't
use it, and nothing else needs to use it.

~TJ

Received on Wednesday, 13 May 2015 04:01:53 UTC