Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding $rem-baseline #3

Closed
MarkBatchelder opened this issue Apr 11, 2015 · 2 comments
Closed

Question regarding $rem-baseline #3

MarkBatchelder opened this issue Apr 11, 2015 · 2 comments

Comments

@MarkBatchelder
Copy link

I'm new to SASS mixins and wanted to verify that if I'm using a 16px default font size, that I can just change $rem-baseline to 16 and everything will work the same.

@pierreburel
Copy link
Owner

Hi,

you can set $rem-baseline: 16px;, drop the html { font-size: 62.5%; } and the mixin/function will calculate rem values and px fallbacks.

I added more documentation regarding this variable : https://github.com/pierreburel/sass-rem#changing-baseline

@MarkBatchelder
Copy link
Author

Awesome, this will be a big improvement over the mixin I've been using, and love that it's LibSASS compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants