How to use responsive web design media queries in css

How to create responsive Gridview using bootstrap.

Change div order to suite responsive viewport