"Prueba fieldset"
Bootstrap 4.1.1 Snippet by JossMP

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="panel-heading">TEST FIELDSET</div> <fieldset class="col-md-12"> <legend>Fieldset Title</legend> <div class="panel panel-default"> <div class="panel-body"> <p>Fieldset content...</p> </div> </div> </fieldset> <div class="clearfix"></div> </div> </div>
fieldset { border: 1px solid #ddd !important; margin: 0; min-width: 0; padding: 5px; position: relative; border-radius:4px; background-color:#FFF; padding-left:10px!important; } legend { font-size:14px; font-weight: bold; margin-bottom: 0px; margin-right: 0px; min-width: 5%; width:auto; border: 1px solid #ddd; border-radius: 5px; padding: 2px 10px 2px 10px; background-color: #ffffff; }

Related: See More


Questions / Comments: