Html Bootstrap 3表单-如何将底部边框添加到表单字段?(将它们隔开)

Html Bootstrap 3表单-如何将底部边框添加到表单字段?(将它们隔开),html,css,ruby,forms,twitter-bootstrap-3,Html,Css,Ruby,Forms,Twitter Bootstrap 3,如何在Bootstrap3中向表单添加底部边框?特别是在使用嵌入式ruby时?我简直搞不懂,花了几个小时,似乎什么都没用 如果我没弄错,这就是你要找的 form{ border-bottom: 2px solid #777; } [链接]() 如果您有其他问题,请告诉我。使用所需的边框样式向表单组添加一个类: HTML: <div class="form-group border">...</div> .border{ border-bottom:1px

如何在Bootstrap3中向表单添加底部边框?特别是在使用嵌入式ruby时?我简直搞不懂,花了几个小时,似乎什么都没用

如果我没弄错,这就是你要找的

form{
    border-bottom: 2px solid #777;
}
[链接]()


如果您有其他问题,请告诉我。

使用所需的边框样式向表单组添加一个类:

HTML:

<div class="form-group border">...</div>
.border{
  border-bottom:1px solid #ddd;
  padding-bottom:20px
  }