dwyl / dwyl/tachyons-bootstrap

Implement offsetting section of grids

Open
#33 0 comments 1 reaction 0 assignees View on GitHub
discuss enhancement priority-5
Dominant language
HTML
Stars
49
Forks
2
Avg merge
8h 8m
Merged PRs (30d)
1

Description

The only subsection that's not complete for grids is [grid offsetting](http://getbootstrap.com/css/#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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.