Jay Jay - 1 year ago 138
CSS Question

How to set a Textarea to 100% height in Bootstrap 3?

I would like to set a

to be 100% height. I'm using Bootstrap 3 but couldn't find an option there.

<div class="container">
<textarea class="form-control" rows="8"></textarea>

How to do it?

Answer Source
html, body, .container {
  height: 100%;
textarea.form-control {
  height: 100%;

See demo on Fiddle

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download