Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit91015ca9cbc2e53e601773e1532eebf4bd1759c6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-28 17:58:30 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-28 17:58:30 +0800
Filesdca61e8ae15b8593f1c0d108368c56be37a99bd1
Spectre-Dark-Gruvbox-91015ca9cbc2e53e601773e1532eebf4bd1759c6.tar
Spectre-Dark-Gruvbox-91015ca9cbc2e53e601773e1532eebf4bd1759c6.tar.gz
Spectre-Dark-Gruvbox-91015ca9cbc2e53e601773e1532eebf4bd1759c6.zip
Parentcf35bdfa5bf7e5840c0c4ca11ff52a66a6c75bae (diff)
update example doc
1 files changed, 8 insertions, 6 deletions
-rw-r--r--index.html14
diff --git a/index.html b/index.html
index 4ee6824..8ff86e0 100644
--- a/index.html
+++ b/index.html
@@ -322,16 +322,18 @@
</div>
<section class="notes">
- <p>Add the class <code>columns</code> to a container. And add any element you want with classname <code>column</code> inside the container. These columns will take up the space equally. You can specific the width of each column by adding class <code>col-[1-12]</code>.</p>
+ <p>Add the class <code>columns</code> to a container with the class <code>container</code>. And add any element you want with classname <code>column</code> inside the container. These columns will take up the space equally. You can specific the width of each column by adding class <code>col-[1-12]</code>.</p>
</section>
<!-- layout example -->
<pre class="code lang-html">
-&lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;columns&quot;</span>&gt;
- &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-6&quot;</span>&gt;col-6&lt;<span class="tag">/div</span>&gt;
- &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-3&quot;</span>&gt;col-3&lt;<span class="tag">/div</span>&gt;
- &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-2&quot;</span>&gt;col-2&lt;<span class="tag">/div</span>&gt;
- &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-1&quot;</span>&gt;col-1&lt;<span class="tag">/div</span>&gt;
+&lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;container&quot;</span>&gt;
+ &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;columns&quot;</span>&gt;
+ &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-6&quot;</span>&gt;col-6&lt;<span class="tag">/div</span>&gt;
+ &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-3&quot;</span>&gt;col-3&lt;<span class="tag">/div</span>&gt;
+ &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-2&quot;</span>&gt;col-2&lt;<span class="tag">/div</span>&gt;
+ &lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;column col-1&quot;</span>&gt;col-1&lt;<span class="tag">/div</span>&gt;
+ &lt;<span class="tag">/div</span>&gt;
&lt;<span class="tag">/div</span>&gt;
</pre>