mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add textarea rows example
This commit is contained in:
parent
8248e6a88f
commit
3f8c12bfbb
@ -5,7 +5,11 @@ doc-subtab: textarea
|
||||
---
|
||||
|
||||
{% 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 %}
|
||||
|
||||
{% capture colors_example %}
|
||||
@ -141,6 +145,25 @@ doc-subtab: textarea
|
||||
</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>
|
||||
|
||||
<h3 id="input-color" class="title">Colors</h3>
|
||||
|
Loading…
Reference in New Issue
Block a user