css - pureio pure-u-1-2 not aligning side by side -


i have exact code, still divs stacking on each other. i've looked similar questions in of them there obvious reasons why divs not side side. cannot figure out why should not work

      <div class="pure-g-r">         <div class="pure-u-1-2"><h2>hello</h2></div>         <div class="pure-u-1-2"><h2>hello</h2></div>       </div> 

any suggestions?

it seems pure has removed "grid-g-r" part, "grid-g" iff specify screen resolution.

this works:

<div class="pure-g">   <div class="pure-u-1 pure-u-md-1-2"><h2>hello</h2>   </div>   <div class="pure-u-1 pure-u-md-1-2"><h2>hello</h2>   </div> </div> 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -