possible to define an array in Sass?

Posted by yaya3 on Stack Overflow See other posts from Stack Overflow or by yaya3
Published on 2009-12-14T21:35:44Z Indexed on 2010/05/05 12:38 UTC
Read the original article Hit count: 286

Filed under:
|

wondering if it is possible to use an array with Sass as I find my self repeating the following sort of thing:

.donkey
  h2
    background-color= !donkey

.giraffe
  h2
    background-color= !giraffe

.iguana
  h2
    background-color= !iguana

© Stack Overflow or respective owner

Related posts about sass

Related posts about haml