Re: [css-variables] Using $foo as the syntax for variables

At the beginning of the thread it seemed that there wasn't a
definitive example/answer and a few people have commented with some
variants (like the usage part, but not the declaration part).  Maybe
having something concrete would help.  Tab -- Are we talking about (I
don't think so) using exactly this (from Sass site - a):

    $blue: #3bbfce;

    .content-navigation {
        border-color: $blue;
    }


Or that would change to something like (b):

    :root {
         var-blue: #3bbfce;
    }

    .content-navigation {
        border-color: $blue;
    }


Or even (c):


    :root {
        $blue: #3bbfce;
    }

    .content-navigation {
        border-color: $blue;
    }


?

Received on Wednesday, 23 May 2012 01:43:57 UTC