tachyons-css / tachyons

Functional css for humans
https://tachyons.io
MIT License
11.63k stars 677 forks source link

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

Open Rudy167 opened 4 years ago

Rudy167 commented 4 years ago

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.

shiftgeist commented 4 years ago

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
ViniciusCastroJS commented 4 years ago

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