<p>The following <ahref="http://htmlreference.io/element/input/"target="_blank">type attributes</a> are supported:</p>
<ul>
<li><code>type="text"</code></li>
<li><code>type="password"</code></li>
<li><code>type="email"</code></li>
<li><code>type="tel"</code></li>
</ul>
</div>
<divclass="columns">
<divclass="column is-half">
{{input_example}}
</div>
<divclass="column is-half highlight-full">
{% highlight html %}{{input_example}}{% endhighlight %}
</div>
</div>
<hr>
<h3id="input-color"class="title">Colors</h3>
<divclass="columns">
<divclass="column is-half">
{{colors_example}}
</div>
<divclass="column is-half highlight-full">
{% highlight html %}{{colors_example}}{% endhighlight %}
</div>
</div>
<hr>
<h3id="input-size"class="title">Sizes</h3>
<divclass="columns">
<divclass="column is-half">
{{sizes_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{sizes_example}}{% endhighlight %}
</div>
</div>
<hr>
<h3id="input-state"class="title">States</h3>
<h4class="subtitle">Normal</h4>
<divclass="columns">
<divclass="column is-half">
{{normal_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{normal_example}}{% endhighlight %}
</div>
</div>
<h4class="subtitle">Hover</h4>
<divclass="columns">
<divclass="column is-half">
{{hover_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{hover_example}}{% endhighlight %}
</div>
</div>
<h4class="subtitle">Focus</h4>
<divclass="columns">
<divclass="column is-half">
{{focus_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{focus_example}}{% endhighlight %}
</div>
</div>
<h4class="subtitle">Loading</h4>
<divclass="columns">
<divclass="column is-half">
{{loading_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{loading_example}}{% endhighlight %}
</div>
</div>
{% if site.vernum >= 43 %}
<divclass="columns">
<divclass="column is-half">
<pstyle="margin-bottom: 0.5rem;">
<spanclass="tag is-success">New!</span>
<spanclass="tag is-info">0.4.3</span>
</p>
<divclass="content">
<p>
You can resize the loading spinner by appending <code>is-small</code>, <code>is-medium</code> or <code>is-large</code> to the <code>control</code> container.
</p>
</div>
{{loading_sizes_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div>
</div>
{% endif %}
<h4class="subtitle">Disabled</h4>
<divclass="columns">
<divclass="column is-half">
{{disabled_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{disabled_example}}{% endhighlight %}
<p>You can append one of 2 <strong>modifiers</strong> on a control:</p>
<ul>
<li>
<code>has-icons-left</code>
</li>
<li>
and/or <code>has-icons-right</code>
</li>
</ul>
<p>You also need to add a modifier on the <strong>icon</strong>:</p>
<ul>
<li>
<code>icon is-left</code> if <code>has-icons-left</code> is used
</li>
<li>
<code>icon is-right</code> if <code>has-icons-right</code> is used
</li>
</ul>
<p>The size of the <strong>input</strong> will define the size of the icon container.</p>
</div>
<divclass="columns">
<divclass="column is-half">
{{icons_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{icons_example}}{% endhighlight %}
</div>
</div>
<divclass="columns">
<divclass="column is-half">
<divclass="content">
<p>
If the control contains an icon, Bulma will make sure the icon remains <strong>centered</strong>, no matter the size of the input <em>or</em> of the icon.
</p>
</div>
{{has_icons_small_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{has_icons_small_example}}{% endhighlight %}
</div>
</div>
<divclass="columns">
<divclass="column is-half">
{{has_icons_normal_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{has_icons_normal_example}}{% endhighlight %}
</div>
</div>
<divclass="columns">
<divclass="column is-half">
{{has_icons_medium_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{has_icons_medium_example}}{% endhighlight %}
</div>
</div>
<divclass="columns">
<divclass="column is-half">
{{has_icons_large_example}}
</div>
<divclass="column is-half">
{% highlight html %}{{has_icons_large_example}}{% endhighlight %}