我一直在尋找一種方法來讓我的'textarea'在它的列內達到100%。我已經看到了一些不同的方法(我沒有能夠工作)在Bootstrap中將'textarea'擴展到100%。我擁有一切,從自定義的CSS樣式到使用class =「form-control col-lg-12」來覆蓋Bootstrap的CSS。在Bootstrap中設置Textarea的寬度3
任何人都有一個工作建議,可以允許流體重新調整大小?
這是我的代碼。現在寬度稍微超過佔位符文本。
<div class="row">
<div class="col-lg-7">
<h2>@Model.EmployeeName</h2>
<h3>Employee #: @Model.EmployeeNumber</h3>
<h5>(Optional): Exception Log comments related to this shift for your Supervisor/Time Keeper.</h5>
<textarea rows="2" placeholder="Exception Log comments."></textarea>
</div>
<div class="col-lg-5 text-right">
<div ng-controller='TimeCtrl'>
<h2>{{ clock | date:'fullDate'}}</h2>
<h1>{{ clock | date:'HH:mm:ss'}}</h1>
<input type="submit" class="btn btn-xxlarge btn-success" value="Punch In" />
</div>
</div>
</div>
我正要寫那 –
似乎沒有爲我工作。在我的研究過程中,我嘗試了一些建議,只是在其中設置了列設置。這是我在class =「form-control col-lg-6」之前試過的東西 – Caverman
你能用jsfiddle之類的東西來重現問題嗎? – georaldc