Dynamic widths #81

wants to merge 1 commit into


None yet
2 participants

n0nick commented Jun 1, 2011

Replacing explicit width values with relative % values, to allow for a dynamic design.

To see the effect in the demo, you can remove the width attribute of div#wrapper and then resize the browser.

Note that a fix to the demo would be required so it looks the same as before (probably wrapping it in a fixed width element).
Possible improvement: allow passing width as a parameter (to override '100%').


yanickrochon commented Jul 27, 2012

The idea is good and the CSS seems to hold on, but I would perform a check to see of the layout is dynamic instead of forcing it on a static layout (perhaps check of the style set is using percentage instead of a fixed unit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment