lundi 20 avril 2015

Why won't Bootstrap columns work in this small HTML/CSS snippet?

I expect to have a left column 2 units wide and a right area 10 units long. However, for some strange reason it is not coming out that way.

Anyone know why not?

#left {
  background-color: green;
#right {
  background-color: yellow;
<link href="" rel="stylesheet"/>

<div id="main-row" class="row">
  <div id="left" class="col-xs-2">
    <button class="btn btn-primary">A Button</button>
  <div id="right" class="col-xs-10">

Aucun commentaire:

Enregistrer un commentaire