Leafo\ScssPhp\Compiler::libCounter PHP Method

libCounter() protected method

Workaround IE7's content counter bug.
protected libCounter ( array $args )
$args array
    protected function libCounter($args)
    {
        $list = array_map([$this, 'compileValue'], $args);
        return [Type::T_STRING, '', ['counter(' . implode(',', $list) . ')']];
    }
Compiler