Я хочу создать таблицу с Bootstrap, но у нее должны быть границы только внутри.Есть идеи?Если это возможно, я не хочу использовать CSS, а только HTML и Bootstrap.Спасибо.
В конце я хочу реализовать это: Таблица
Это очень громоздко, но это лучшее, что я получил.ИСПОЛЬЗУЙТЕ классы служебных программ начальной загрузки https://getbootstrap.com/docs/4.1/utilities/borders/
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"> <title>Overlay</title> </head> <body> <div class="container"> <table class="table" style="margin-top: 10px;"> <thead> <tr> <th scope="col" class="border-top-0 border-right border-bottom-0">#</th> <th scope="col" class="border-top-0 border-right border-bottom-0">First</th> <th scope="col" class="border-top-0 border-right border-bottom-0">Last</th> <th scope="col" class="border-top-0 border-right border-bottom-0 border-right-0">Handle</th> </tr> </thead> <tbody> <tr> <td scope="row" class="border-right border-bottom-0">1</td> <td class="border-right border-bottom-0"> Mark</td> <td class="border-right border-bottom-0">Otto</td> <td class="border-right border-bottom-0 border-right-0">@mdo</td> </tr> <tr> <td scope="row" class="border-right border-bottom-0">1</td> <td class="border-right border-bottom-0"> Mark</td> <td class="border-right border-bottom-0">Otto</td> <td class="border-right border-bottom-0 border-right-0">@mdo</td> </tr> <tr> <td scope="row" class="border-right border-bottom-0">1</td> <td class="border-right border-bottom-0"> Mark</td> <td class="border-right border-bottom-0">Otto</td> <td class="border-right border-bottom-0 border-right-0">@mdo</td> </tr> </tbody> </table> </div> </body>
Смотрите это скрипка