Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Compass 1.0 and "rem" unit

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #166240
    dgriesel
    Participant

    Hi guys! I just noticed something strange while working with Compass/SCSS.

    In my project, I have some variables that were in ‘rem’s and did some calculations with them. No problem at all with Compass 0.12 and SASS 3.2.
    Then I upgraded to Compass 1.0 (alpha) and SASS 3.3 to get some of the new features. However that change resulted in errors whenever I was calculating something in ‘rem’s:
    $var1: 30rem;
    $var2: $var1 / 1.5; // <- ERROR
    $var3: $var1 + 1rem; // <- ERROR

    Did anyone else notice that?

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.