Can someone explain how http://cssgrid.net/ achieves the effect that when the browser width is below a certain amount, the layout switches from 3-column to single-column?
I’ve tried turning off javascript, and inspecting the CSS of .row and .container but my knowledge of CSS is lacking. There’s a min-width property but changing it via Firebug doesn’t seem to affect much.
Could someone point out what in the CSS is causing the change?
@ben; for this need to use
mediaqueries.It’s new property in which we define the css according to the width. Like this:In the above example the
apx.cssis your default css & andnew-css.cssapply when your screen width decrease to 600px.That a best link for your answer http://css-tricks.com/6206-resolution-specific-stylesheets/
Check this for more http://webdesignerwall.com/tutorials/css3-media-queries