The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › css-tricks.com layout
Hi Everyone, I like the layout of css-tricks.com very much. When I re-size the browser, all the contents are changing to fit the new size. It’s amazing! My question is, how this is made ? using javascript to control the css while re-sizing ?
Any answer is appreciated.
It’s done through media queries — @ChrisCoyier did a write-up when he rolled out the new design, you might be able to find it in the archives.
Ethan Marcotte wrote a fantastic book for, ‘A book apart’ on Responsive web design. Definitely worth checking out.
http://www.abookapart.com/products/responsive-web-design