mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 20:04:30 -07:00
Add textarea rows example
This commit is contained in:
@@ -5,7 +5,11 @@ doc-subtab: textarea
|
|||||||
---
|
---
|
||||||
|
|
||||||
{% capture textarea_example %}
|
{% capture textarea_example %}
|
||||||
<textarea class="textarea" placeholder="e.g. Hello world" rows="10"></textarea>
|
<textarea class="textarea" placeholder="e.g. Hello world"></textarea>
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
{% capture textarea_rows_example %}
|
||||||
|
<textarea class="textarea" placeholder="10 lines of textarea" rows="10"></textarea>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% capture colors_example %}
|
{% capture colors_example %}
|
||||||
@@ -141,6 +145,25 @@ doc-subtab: textarea
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<p>
|
||||||
|
<span class="tag is-success">New!</span>
|
||||||
|
<span class="tag is-info">0.4.4</span>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
You can set the height of the textarea using the `rows` HTML attribute.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column is-half">
|
||||||
|
{{textarea_rows_example}}
|
||||||
|
</div>
|
||||||
|
<div class="column is-half highlight-full">
|
||||||
|
{% highlight html %}{{textarea_rows_example}}{% endhighlight %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h3 id="input-color" class="title">Colors</h3>
|
<h3 id="input-color" class="title">Colors</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user