You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="explanationText">We can create a grid of boxes that fills the browser width and wraps nicely.This can be done using with inline-block, inline-block elements are like inline elements but they can have a width and height.</p>
2882
2882
2883
-
<xmpclass="code">.box{
2883
+
<xmpclass="code"><style>.box{
2884
2884
width:200px;
2885
2885
height:100px;
2886
2886
margin:1em;
2887
2887
color: cornflowerblue;
2888
2888
}
2889
+
</style>
2890
+
<divclass="box">Box-One</div>
2891
+
<divclass="box">Box-Two</div>
2892
+
<divclass="box">Box-Three</div>
2893
+
<divclass="box">Box-Four</div>
2889
2894
</xmp>
2890
2895
<pclass="explanationText">This will result in..</p>
0 commit comments