I am working on bootstrap grid which is as follows:
.facevalue {
background: #ffffff61;
font-family: Dubai;
font-size: 18px;
font-weight: 400;
line-height: 30px;
padding: 0 30px;
border: 1px solid #e9e9e9;
margin: 1px 0;
}
.faceid {
background: #dcdcdc;
font-family: Dubai;
font-size: 18px;
font-weight: 500;
line-height: 30px;
padding: 0 30px;
border: 1px solid #e9e9e9;
margin: 1px 0;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" />
<div class="row no-gutters">
<div class="col-md-6">
<div class="row no-gutters">
<div class="col-md-3">
<div class="faceid">Name</div>
</div>
<div class="col-md-9">
<div class="facevalue">ABC</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="row no-gutters">
<div class="col-md-3">
<div class="faceid">DOB</div>
</div>
<div class="col-md-9">
<div class="facevalue">11/12/2020</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="row no-gutters">
<div class="col-md-3">
<div class="faceid">About Me</div>
</div>
<div class="col-md-9"><textarea class="facevalue w-100 p-1" type="text" id="myComment" rows="1" cols="50" value="">About me text....... </textarea>
</div>
</div>
</div>
</div>
I want the output for columns which should look like similar to each rows as per image.
How to achieve to combining the first column of second row? So it will show output as shown in image.
.facevalue {
background: #ffffff61;
font-family: Dubai;
font-size: 18px;
font-weight: 400;
line-height: 30px;
padding: 0 30px;
border: 1px solid #e9e9e9;
margin: 1px 0;
}
.faceid {
background: #dcdcdc;
font-family: Dubai;
font-size: 18px;
font-weight: 500;
line-height: 30px;
padding: 0 30px;
border: 1px solid #e9e9e9;
margin: 1px 0;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" />
<div class="row no-gutters">
<div class="col-sm-3">
<div class="faceid">Name</div>
</div>
<div class="col-sm-3">
<div class="facevalue">ABC</div>
</div>
<div class="col-sm-3">
<div class="faceid">DOB</div>
</div>
<div class="col-sm-3">
<div class="facevalue">11/12/2020</div>
</div>
</div>
<div class="row no-gutters">
<div class="col-sm-3">
<div class="faceid">About Me</div>
</div>
<div class="col-sm-9"><textarea class="facevalue w-100 p-1" type="text" id="myComment" rows="1" cols="50" value="">About me text....... </textarea>
</div>
</div>
Related
I want to try to make a div page with an icon around the text and button but it won't make an icon beside the text just like this(It also affects the button). I already tried using Flex documentation d-flex justify-content-around in div class but it doesn't work. I'm using Bootstrap 4. Here's the result :
The Result:
The Result I wanted:
Here's the coding :
Home.html
div.page {
padding: 10px 20px;
background: #FDFDFD;
width: 280px;
height: 180px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 32px;
}
p.page {
color: #252525;
margin-left: 20px;
font-size: 30px;
font-weight: bold;
font-family: 'Roboto',sans-serif;
}
button.show {
border-radius: 32px;
font-weight:bold;
margin-right: 80px;
margin-top: 30px;
border: 3px solid #3379E4;
text-align:center;
padding: 5px;
background: #3379E4;
width: 50%;
color: #FDFDFD;
font-family:'Roboto', sans-serif;
}
i.page {
font-size: 36px;
color: #3379E4;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap#4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap#4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
<div class="container mt-5">
<div class="row">
<div class="col text-center">
<div class="d-flex">
<div class="page mr-auto p-2">
<i class="page fas fa-calculator text-right"></i>
<p class="page text-left">AK</p>
<button class="show">Show</button>
</div>
<div class="page p-2">
<i class="page fas fa-laptop text-right"></i>
<p class="page text-left">TKJ</p>
<button class="show">Show</button>
</div>
</div>
<img src="https://cdn.pixabay.com/photo/2016/09/18/14/21/swimmer-1678307__340.jpg" class="img-fluid" width="500">
<div class="d-flex">
<div class="page mr-auto p-2">
<i class="page fas fa-store text-right"></i>
<p class="page text-left">PM</p>
<button class="show">Show</button>
</div>
</div>
</div>
</div>
</div>
Thank you for helping.
I add custom css that you could see by the bottom of the css:
/**** CSS ADDED ****/
.img-fluid {
margin: -10vh auto;
}
.z-index-1{
z-index:1;
}
I recommand to not use class: .img-fluid as I did but to create another class with this negative margin. Here it is really just for the demo
Then I added classes in follow:
<div class="col text-center">
<div class="d-flex">
To make it like:
<div class="col text-center d-flex flex-column">
<div class="d-flex z-index-1">
Edit:
Rework structure of your card this way by dividing in 2 cols and some correction in CSS for icon font-size :
<div class="page p-2 row">
<div class="col-8">
<p class="page text-left">TKJ</p>
<button class="show">Show</button>
</div>
<div class="col-4 d-flex">
<i class="page fas fa-laptop m-auto"></i>
</div>
</div>
DEMO:
div.page {
padding: 10px 20px;
background: #FDFDFD;
width: 280px;
height: 180px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 32px;
}
p.page {
color: #252525;
margin-left: 20px;
font-size: 30px;
font-weight: bold;
font-family: 'Roboto',sans-serif;
}
button.show {
border-radius: 32px;
font-weight:bold;
margin-right: 80px;
margin-top: 30px;
border: 3px solid #3379E4;
text-align:center;
padding: 5px;
background: #3379E4;
width: 100%; /* CAHNGED FROM 50% TO 100% */
color: #FDFDFD;
font-family:'Roboto', sans-serif;
}
i.page {
font-size: 4em; /* Changed from 36px to 4em */
color: #3379E4;
}
/**** CSS ADDED ****/
.img-fluid {
margin: -10vh auto;
}
.z-index-1{
z-index:1;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap#4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap#4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
<div class="container mt-5">
<div class="row">
<div class="col text-center d-flex flex-column">
<div class="d-flex z-index-1">
<div class="page mr-auto p-2 row">
<div class="col-8">
<p class="page text-left">AK</p>
<button class="show">Show</button>
</div>
<div class="col-4 d-flex">
<i class="page fas fa-calculator m-auto"></i>
</div>
</div>
<div class="page p-2 row">
<div class="col-8">
<p class="page text-left">TKJ</p>
<button class="show">Show</button>
</div>
<div class="col-4 d-flex">
<i class="page fas fa-laptop m-auto"></i>
</div>
</div>
</div>
<img src="https://cdn.pixabay.com/photo/2016/09/18/14/21/swimmer-1678307__340.jpg" class="img-fluid" width="500">
<div class="d-flex z-index-1">
<div class="page mr-auto p-2 row">
<div class="col-8">
<p class="page text-left">PM</p>
<button class="show">Show</button>
</div>
<div class="col-4 d-flex">
<i class="page fas fa-store m-auto"></i>
</div>
</div>
</div>
</div>
</div>
</div>
I have the below snippet, demonstrating vertically-stacked divs containing spans of text:
.WBG {
background-color: #e6e6e6 !important;
}
.mt-buffer-lg {
margin-top: 20pt;
}
.tb-border {
border-style: solid;
border-width: 1px;
border-color: #bfbfbf;
}
.pad-sm {
padding: 5pt;
}
.tb-border-top {
border-top-style: solid;
border-top-width: 1px;
border-top-color: #bfbfbf;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js#1.16.1/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<div class="container-fluid">
<div class="row mt-buffer-lg">
<div class="col-12">
<div class="row">
<div class="col-sm-3">
<div class="WBG tb-border">
<div class="pad-sm text-center">
<span>123456789</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234567</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>123456</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234</span>
</div>
</div>
</div>
<div class="col-sm-9">
<div class="WBG tb-border pad-sm">
2
</div>
</div>
</div>
</div>
</div>
</div>
Example of what I want it to look like
This shows that text is all aligned on the first character of each string of numbers but is still 'in the middle' of each div - horizontally. How would this best be achieved?
It's a little tricking but the big insight here is you need to set display:inline-block to your .WBG and set display:block to your spans
.WBG {
background-color: #e6e6e6 !important;
display:inline-block;
}
.mt-buffer-lg {
margin-top: 20pt;
}
.tb-border {
border-style: solid;
border-width: 1px;
border-color: #bfbfbf;
}
.pad-sm {
padding: 5pt;
}
.tb-border-top {
border-top-style: solid;
border-top-width: 1px;
border-top-color: #bfbfbf;
}
span{
display:block;
text-align:left;}
.col-sm-2{
text-align:center;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js#1.16.1/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<div class="container-fluid">
<div class="row mt-buffer-lg">
<div class="col-12">
<div class="row">
<div class="col-sm-2">
<div class="WBG tb-border">
<div class="pad-sm text-center">
<span>123456789</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234567</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>123456</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
It's a little tricking but the big insight here is you need to set display:inline-block to your .WBG and set display:block to your spans
If you want to center everything you need to over ride bootstrap
.WBG {
background-color: #e6e6e6 !important;
display:inline-block;
}
.mt-buffer-lg {
margin-top: 20pt;
}
.tb-border {
border-style: solid;
border-width: 1px;
border-color: #bfbfbf;
}
.pad-sm {
padding: 5pt;
}
.tb-border-top {
border-top-style: solid;
border-top-width: 1px;
border-top-color: #bfbfbf;
}
span{
display:block;
text-align:left;}
.col-sm-2{
text-align:center;
}
#media (min-width: 576px){
.col-sm-2 {
max-width:100%!important;
flex:none!important;
}
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js#1.16.1/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<div class="container-fluid">
<div class="row mt-buffer-lg">
<div class="col-12">
<div class="row">
<div class="col-sm-2">
<div class="WBG tb-border">
<div class="pad-sm text-center">
<span>123456789</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234567</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>123456</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234</span>
</div>
<div class="tb-border-top pad-sm text-center">
<span>1234</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
I'm using Bootstrap 4 and want to make a grid view. The problem is that my columns don't have the same width. Also, the height of the columns are not the same as you can see on the borders.
I've read that the columns in Bootstrap 4 should have the same height and width natively, but somehow it seems not to work for me. I'd be glad if someone could help me.
Here's the code of my grid.
.grid-header {
background-color: #002f5a;
color: white;
height: 70px;
font-weight: bold;
font-size: 14pt;
}
.grid-header .col-sm {
border: 1px solid white;
padding: 10px 20px 10px 20px;
}
.grid-row {
border-bottom: 1px solid lightgray;
border-right: 1px solid lightgray;
border-left: 1px solid lightgray;
}
.grid-column-value {
padding: 10px 10px 10px 10px;
border-right: 1px solid lightgray;
}
.grid-filter {
padding: 10px 0 10px 0;
border-bottom: 1px solid lightgray;
border-right: 1px solid lightgray;
border-left: 1px solid lightgray;
}
.grid-filter-column {}
.grid-edit-form {
padding: 10px 0 10px 0;
}
.grid-edit-row {
padding: 0 15px 0 15px;
border-bottom: 1px solid lightgray;
border-right: 1px solid lightgray;
border-left: 1px solid lightgray;
}
.grid-row.selected,
.grid-row:hover {
background-color: #002f5a;
color: white;
}
.grid-action-column {
float: right;
}
.grid-action-column>.btn {
margin-right: 10px;
}
.grid-edit-btn {
background-color: yellow;
}
.grid-edit-btn:hover {
background-color: #ebd234;
}
.grid-delete-btn {
background-color: red;
color: white;
}
.grid-delete-btn:hover {
background-color: darkred;
color: white;
}
.grid-edit-form-buttons {
float: right;
}
.grid-edit-form-buttons>.btn {
margin-left: 10px;
}
<div class="container-fluid">
<div class="grid-header row align-items-center">
<div class="col">Identifier</div>
<div class="col">Der Name</div>
<div class="col">Beschreibung</div>
<div class="col">E-Mail</div>
<div class="col">Link</div>
<div class="col">Erstellt am: </div>
<div class="col"></div>
</div>
<div class="grid-filter row">
<div class="col grid-filter-column">
<div class="input-group">
<div class="input-group-prepend"><i class="input-group-text fas fa-filter"></i></div>
<input type="number" class="form-control" id="inlineFormInputGroup-Id-filter">
</div>
</div>
<div class="col grid-filter-column">
<div class="input-group">
<div class="input-group-prepend"><i class="input-group-text fas fa-filter"></i></div>
<input type="text" class="form-control" id="inlineFormInputGroup-Name-filter">
</div>
</div>
<div class="col grid-filter-column">
<div class="input-group">
<div class="input-group-prepend"><i class="input-group-text fas fa-filter"></i></div>
<input type="" class="form-control" id="inlineFormInputGroup-Description-filter">
</div>
</div>
<div class="col grid-filter-column">
<div class="input-group">
<div class="input-group-prepend"><i class="input-group-text fas fa-filter"></i></div>
<input type="" class="form-control" id="inlineFormInputGroup-EmailAddress-filter">
</div>
</div>
<div class="col grid-filter-column">
<div class="input-group">
<div class="input-group-prepend"><i class="input-group-text fas fa-filter"></i></div>
<input type="" class="form-control" id="inlineFormInputGroup-TestUrl-filter">
</div>
</div>
<div class="col grid-filter-column">
<div class="input-group">
<div class="input-group-prepend"><i class="input-group-text fas fa-filter"></i></div>
<input type="date" class="form-control" id="inlineFormInputGroup-CreatedAt-filter">
</div>
</div>
<div class="col grid-filter-column"></div>
</div>
<div class="grid-row row align-items-center" id="grid-row-1">
<div class="col grid-column-value">1</div>
<div class="col grid-column-value">Hans</div>
<div class="col grid-column-value">This is some cool description</div>
<div class="col grid-column-value">hans.peter#example.net</div>
<div class="col grid-column-value">https://www.google.de/</div>
<div class="col grid-column-value">05.08.2020 13:53:25</div>
<div class="col grid-action-column"><button class="btn grid-edit-btn" onclick="ShowEditRow('http://localhost:5005/Home/CallApi?Id=1', '1');"><i class="fas fa-edit"></i></button><i class="fas fa-trash"></i></div>
</div>
<div class="grid-row row align-items-center" id="grid-row-2">
<div class="col grid-column-value">2</div>
<div class="col grid-column-value">Laura</div>
<div class="col grid-column-value">This is another cool description</div>
<div class="col grid-column-value">laura.g#example.net</div>
<div class="col grid-column-value">https://www.google.de/</div>
<div class="col grid-column-value">05.08.2020 13:53:25</div>
<div class="col grid-action-column"><button class="btn grid-edit-btn" onclick="ShowEditRow('http://localhost:5005/Home/CallApi?Id=2', '2');"><i class="fas fa-edit"></i></button><i class="fas fa-trash"></i></div>
</div>
</div>
Edit: I noticed that this problem is only occuring, if the content of my columns is too long. E.g. if the description is displayed in two lines. I don't want to use "text-truncate", because the content won't be fully shown then.
Insert a w-100 after each row to make them equal.
<div class="row">
<div class="col">col</div>
<div class="col">col</div>
<div class="w-100"></div>
<div class="col">col</div>
<div class="col">col</div>
</div>
After some time I've found an answer.
The problem with the width was that the "emails" were too long and because they were "one word" (no spaces in-between) they could not got broken. So I added the following line to my css:
.grid-column-value {
...
word-break: break-word;
...
}
You can solve this problem with different solutions like the .text-truncate class from Bootstrap. It depends on your needs and preferences.
For the height I got problems because I added the class .align-items-center to my row. To solve this I removed the class from it and added following lines to my css:
.grid-column-value {
...
display: flex;
align-items: center;
}
.grid-action-column {
...
display: flex;
align-items: center;
}
This basically does the same as .align-items-center but directly targets the columns instead of the whole row.
The whole grid now looks like this:
I have a navigation bar, but i don't know how to vertically align some classes.
I use bootstrap. The navigation bar is fixed position. The navbar is divided into 3 row. The search row is OK, but I can't vertically align the another rows.
Here is the HTML:
<div class="col-sm-10" >
<p>Reményik Tudástár</p>
</div>
</div>
</div>
</div>
<div class="col-sm-4 navbar-search vertical-align">
<div class="container-fluid">
<div class="row vertical-align">
<div class="col-sm-1"></div>
<div class="col-sm-9" style="padding: 0;">
<input type="text" name="search" class="navbar-search-input" placeholder="Keresés">
</div>
<div class="col-sm-1" style="">
<button class="navbar-search-button"><i class="fa fa-search"></i></button>
</div>
<div class="col-sm-1"></div>
</div>
</div>
</div>
<div class="col-sm-4 navbar-login" style="">
<div class="container-fluid">
<div class="row">
<div class="col-sm-10">
<p style="float: right;">Bejelentkezés</p>
</div>
<div class="col-sm-2">
<span class="fa fa-sign-in fa-2x"></span>
</div>
</div>
</div>
</div>
</div>
and here is the CSS:
.navigation-bar {
background-image: url("../img/nav_background.png");
padding: 15px;
box-shadow: 0px 2px 5px #999999;
}
.navbar-search-input {
width: 100%;
border: 0;
border-radius: 3px 0 0 3px;
height: 35px;
padding: 10px;
}
.navbar-search-button {
background-color: #203138;
color: #fff;
margin-right: 100%;
border: 0;
border-radius: 0 3px 3px 0;
height: 35px;
padding-left: 12px;
padding-right: 12px;
}
So, how can I vertically align the logo and the cim class?
Try this:-
display: inline-block;
*display: inline;
vertical-align: middle;
Whitespace appears around elements with border-radius larger than 0, but only on IE.
With border-top-left-radius: 20px; border-top-right-radius: 20px;:
*Without border-radius:
The Code:
.price-head {
color: #fff;
margin: 0;
height: 109px;
}
.btop {
background: #8ebded;
}
.bbot {
background-color: #4096ee;
height: 80px;
position:relative;
}
.bbot:after {
content:'';
position: absolute;
top: 100%;
left: 63%;
margin-left: -50px;
width: 0;
height: 0;
border-top: solid 20px #4096ee;
border-left: solid 20px transparent;
border-right: solid 20px transparent;
z-index: 10;
}
<head>
<link href="css/normalize.css" rel="stylesheet">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
</head>
<body>
<div class="row" style="margin: 0;">
<div class="row text-center" style="margin: 0;">
<div class="col-md-2" style="margin: 0;"></div>
<div class="col-md-10" style="margin: 0; padding: 0;">
<div class="col-md-3 price-head btop" style="border-top-left-radius: 20px;">
<h1 style="padding-top: 15px;"><strong>Sole Trader</strong></h1>
</div>
<div class="col-md-3 price-head btop">
<h1><strong>Small Business</strong></h1>
</div>
<div class="col-md-3 price-head btop">
<h1 style="padding-top: 15px;"><strong>SME</strong></h1>
</div>
<div class="col-md-3 price-head btop" style="border-top-right-radius: 20px;">
<h1 style="padding-top: 15px;"><strong>Contractor</strong></h1>
</div>
</div>
</div>
<div class="row text-center" style="margin: 0;">
<div class="col-md-2" style="margin: 0;">
<h3>Choose Plan</h3>
</div>
<div class="col-md-10" style="margin: 0; padding: 0;">
<div class="col-md-3 price-head bbot">
<h1>£</h1>
</div>
<div class="col-md-3 price-head bbot">
<h1>££</h1>
</div>
<div class="col-md-3 price-head bbot">
<h1>£££</h1>
</div>
<div class="col-md-3 price-head bbot">
<h1>££££</h1>
</div>
</div>
</div>
</div>
</body>
Thanks in advance.
Have you tried
.col-md-3 { border-width:0 !important; }