tachyons-css / tachyons

Functional css for humans

Home Page:https://tachyons.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inconsistent documentation with respect to code, for margin top/right/bottom/left

Rudy167 opened this issue · comments

margin_issue
](url)
Hi everyone,
I had been using tachyons for a while, and i have encountered this issue-
mt3=1rem -true
mt4!=2rem instead it is 1.5 rem, i have attached the screenshot code for the same above.,
the scale grows with 0.5 rem at a time(which i feel is actually better than the current scale), but i do not understand why is that happening.

This happends because it is not a 0.5 rem growth, but a 50% grows:

0.25 * 2 = 1
0.5 * 2 = 1
1 * 2 = 4
...
and so on

Every "mt" have the double that the previous "mt"