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

Home Forums CSS Usefulness of rem-calc() in SCSS/LESS

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #245912

    I was wondering if someone could tell me the use of rem-calc(). I see this pretty often and I’m wondering if it’s just a way for people to get comfortable using relative units while still being able to use pixel values? Doesn’t this kill the usefulness of it because if you change your base font size, for example, rem-calc(22) will automatically adjust your final rem value? So why not just use pixels? Or if you want relative units, use relative units?


    Rem-calc is a Foundation sass function that converts pixels to REMs, so you can still think in pixels and end up with scalable em.

    rem-calc(10px); // 10px will be converted to REMs

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