Menu icon Foundation
Changing text input size with Zurb Foundation (Rails 4.0)

I posted the following to stackoverflow, but nobody has been able to figure it out so far:

http://stackoverflow.com/questions/21488402/changing-text-input-size-with-zurb-foundation-rails-4-0

______________________________________

I attempted to add the following code to a input field:

"font-size:40px"

This increases the font size, but not the input box itself as it usually would without foundation. Is there a way to do this from within foundation without changing the global default?

I want this only for one input field.

forminput sizetextarea

I posted the following to stackoverflow, but nobody has been able to figure it out so far:

http://stackoverflow.com/questions/21488402/changing-text-input-size-with-zurb-foundation-rails-4-0

______________________________________

I attempted to add the following code to a input field:

"font-size:40px"

This increases the font size, but not the input box itself as it usually would without foundation. Is there a way to do this from within foundation without changing the global default?

I want this only for one input field.

Rafi Benkual almost 6 years ago

You can use the grid to set a text area width like

<form>
<div class="row">
<div class="large-12 columns">
<label>Textarea Label
<textarea placeholder="small-12.columns"></textarea>
</label>
</div>
</div>
</form>

You can use css for height like so:

textarea {
  height:300px;
}

working example http://cdpn.io/nzaGi