I want to do this: http://www.youtube.com/watch?v=ls3Clk-kz3s but output rems (with px fallback) instead of ems.
Apparently this https://github.com/chriseppstein/compass/pull/896 is added to compass and should somehow work, but I don't quite get what do I need from http://compass-style.org/reference/compass/typography/vertical_rhythm/ to my .scss -file to make it.
If I were to just take the code from https://gist.github.com/ry5n/2026666 as a mixin (even without Compass at all) and use:
@include set-font-size()
instead of:
@include adjust-font-size-to()
It works beautifully with rem values and px fallback.
But if I just try to use Compass and go with
$font-unit: 1rem;
$relative-font-sizing: false;
It works but without px fallback.
If someone could put the full .scss code needed for Vertical Rhythm to work with Rems, I'd appreciate it very much.
And why do I need $relative-font-sizing: false if I'm using Rems? Also, are there some competing philosophies on vertical rhythm other than getting the text to a grid like this? Which one do you prefer and what is your workflow?
Thank you very much in advance.