Skip to content

Instantly share code, notes, and snippets.

@profstein
profstein / style.css
Last active August 29, 2015 13:56
Responsive CSS Helpers: These styles give you a border-box model and base CSS to make your images flexible (change width if their containing box gets smaller).
/*
This rule uses the universal selector, *, to apply the border-box model to all elements on a site
see Paul Irish article for where these styles came from and more on why to do it:
http://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box;