Example uses D3 to produce Pure's responsive grid programmatically.
For example, elements within a '3' row grid will be width: 100% on small screens, but will shrink to become width: 33.33% on medium-sized screens and above.
<div class="pure-g">
<div class="pure-u-1 pure-u-md-1-3"> ... </div>
<div class="pure-u-1 pure-u-md-1-3"> ... </div>
<div class="pure-u-1 pure-u-md-1-3"> ... </div>
</div>
View console or source to see created elements/grid elements.
Modified http://d3js.org/d3.v3.min.js to a secure url
Updated missing url https://rawgit.com/turban/d3.slider/master/d3.slider.js to https://cdn.jsdelivr.net/gh/turban/d3.slider/d3.slider.js
https://d3js.org/d3.v3.min.js
https://rawgit.com/turban/d3.slider/master/d3.slider.js