You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only subsection that's not complete for grids is grid offsetting.
There are currently no percentage left (or right) margins in tachyons. The only other option would be to use columns and margins with rem units, however I didn't think this was a good alternative in this particular case. Seems like a better one to leave for now and come back to at another time!
What's the reasoning behind not including margins as percentages? I read this section of the docs:
As powers of two will always produce integers, there will be no problems with sub pixel rendering across browsers. Computers aren't that great at math and so decimals lead to inconsistencies across platforms. Inconsistencies should be avoided where possible.
I was thinking percentage margins would sometimes result in non-integer pixel values which causes problems hence not being included. Can you give more insight @mrmrs?
The text was updated successfully, but these errors were encountered:
The only subsection that's not complete for grids is grid offsetting.
There are currently no percentage left (or right) margins in tachyons. The only other option would be to use columns and margins with rem units, however I didn't think this was a good alternative in this particular case. Seems like a better one to leave for now and come back to at another time!
What's the reasoning behind not including margins as percentages? I read this section of the docs:
I was thinking percentage margins would sometimes result in non-integer pixel values which causes problems hence not being included. Can you give more insight @mrmrs?
The text was updated successfully, but these errors were encountered: