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

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

javascript - Which segment of a polyline was clicked? -

c# - Avoiding duplicate methods for Task and Task<T> -