茅侃侃
推介你bootstrap这个框架,自己随便改一改样式就行了。<div style="width: 500px;"> <form action="#"> <div class="row"> <div class="form-group col-6"><input type="text" class="form-control" placeholder="name:"></div> <div class="form-group col-6"><input type="text" class="form-control" placeholder="name:"></div> </div> <div class="form-group col-12" style="padding: 0px;"> <textarea name="sth" class="form-control col-12" rows="5" placeholder="sth:"></textarea> </div> <button type="submit"class="form-control col-12" style="background-color:yellow">submit</button> </form> </div>颜色什么的就自己调吧,,很简单。