0

I am trying to develop this kind of form field using bootstrap, css and jquery but not able to do it. Any help will be appreciatedtwo-row input text in same field. Thanks

Naman
  • 13
  • 1

1 Answers1

0

You can try out this snippet. I have used border-left in order to implement this..

input[type=text],
#textarea {
  border-left: 6px solid green;
  border-radius: 4px;
  height: 4rem;
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">


<div class="col-md-4 mb-3">
  <label>Username</label>
  <div class="form-group">

    <input type="text" multiple class="form-control" placeholder="Username" required>
    <br>
    <textarea id="textarea" name="Text" class="form-control" cols="40" rows="2" placeholder="Text Area"></textarea>

  </div>

</div>
Lakindu Gunasekara
  • 4,221
  • 4
  • 27
  • 41