有关input框这个怎么写不用bootstarp,

https://img.mukewang.com/5c80bc9d0001d5c705940316.jpg

料青山看我应如是
浏览 537回答 2
2回答

茅侃侃

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

烙印99

用css和html写,不要当伸手党,这都是很基础的内容。input框去除原有样式,设置border-radius,placeholder。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript