E
E
Egor2014-03-12 04:15:58
css
Egor, 2014-03-12 04:15:58

Sass + compass. How to create a map type variable?

I'm trying to create a variable of type map. I do it like this I
$map: (key1: value1, key2: value2, key3: value3)
get an error when compiling

error sass/style.sass (Line 1: Invalid CSS after "(key1": expected ")", was ": value1, key2:...")

What's wrong, tell me? Docks went through, I just can not catch the problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor, 2014-03-12
@ByKraB

Problem solved by installing pre version of compass with sass 3.3.0 support
sudo gem install --pre

I
Ivan Starkov, 2014-03-12
@icelaba

sass --version outputs what? if less than 3.3 then update sass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question