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

Percentage widths #275

Open
scottkellum opened this issue Dec 12, 2011 · 1 comment
Open

Percentage widths #275

scottkellum opened this issue Dec 12, 2011 · 1 comment
Labels

Comments

@scottkellum
Copy link
Contributor

Add support for percentage widths on columns and grids. This would mean recalculating text flow on resize but would greatly increase the range of screen sizes supported while reducing number of grids.

Grid size would be relative to the viewer, so a grid of 100% would span the entire viewer. Column and container size would be relative to the grid, so if the grid were 50% wide and the column was 50% of that, the column would be 25% of the viewer width.

max-width and min-width will still be used to swap out different grids, so if you wish to switch from a 1 column to a 2 column grid at 800px, then the 1 column grid would have a max-width of 800px.

@JonathanMH
Copy link

I just tried to make this work, without knowing it doesn't yet. I would love this feature!

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

No branches or pull requests

2 participants