{% 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">
<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 %}
<h4class="subtitle">Readonly and static inputs</h4>
<pstyle="margin-bottom: 0.5rem;">
<spanclass="tag is-success">New!</span>
<spanclass="tag is-info">0.5.3</span>
</p>
<divclass="content">
<p>
If you use the <code>readonly</code> HTML attribute, the input will look similar to a normal one, but is not editable and has no shadow.
</p>
</div>
<divclass="columns">
<divclass="column is-half">
{{ readonly_example }}
</div>
<divclass="column is-half">
{% highlight html %}{{ readonly_example }}{% endhighlight %}
</div>
</div>
<divclass="content">
<p>
If you <em>also</em> append the <code>is-static</code> modifier, it removes the background, border, shadow, and horizontal padding, while maintaining the <strong>vertical spacing</strong> so you can easily align the input in any context, like a horizontal form.
</p>
</div>
<divclass="bd-example">
{{ static_example }}
</div>
{% highlight html %}{{ static_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 %}
You can use <ahref="{{ site.github | append: '/blob/master/sass/elements/form.sass#L1,L23' }}"target="_blank">these variables</a> to <strong>customize</strong> this element. Simply set one or multiple of these variables <em>before</em> importing Bulma. <ahref="{{ site.url }}/documentation/overview/customize/">Learn how</a>.