Bootstrap Remove margin from column
home
Run
screen_rotation
fullscreen
cloud_download
<html> <head> <title>Bootstrap Grid</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <style type="text/css"> .col-no-padding{ margin : 0 !important; } </style> </head> <body> <div class="container"> <div class="row"> <div class="col-md-4 col-no-margin" style="border:1px solid green"> Dummy Text Column 1 </div> <div class="col-md-8 col-no-margin" style="border:1px solid green"> Dummy Text Column 2 </div> </div> </div> </body> </html>
<html> <head> <title>Bootstrap Grid</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <style type="text/css"> .col-no-padding{ margin : 0 !important; } </style> </head> <body> <div class="container"> <div class="row"> <div class="col-md-4 col-no-margin" style="border:1px solid green"> Dummy Text Column 1 </div> <div class="col-md-8 col-no-margin" style="border:1px solid green"> Dummy Text Column 2 </div> </div> </div> </body> </html>
Copyrights@tutorialsplane.com