An excellent, must read article with clear examples that show the media queries and formulas for grid layout. Video included.

http://zellwk.com/blog/how-to-write-mobile-first-css/