Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
Bootstrap col-md-2 Class
Dividing the row into six parts by using class
.col-md-2.
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Bootstrap Grid Example</title> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"> </script> </head> <body> <div> <div class="row"> <div class="col-md-2" style="background-color:yellow;">col-md-2</div> <div class="col-md-2" style="background-color:pink;">col-md-2</div> <div class="col-md-2" style="background-color:yellow;">col-md-2</div> <div class="col-md-2" style="background-color:pink;">col-md-2</div> <div class="col-md-2" style="background-color:yellow;">col-md-2</div> <div class="col-md-2" style="background-color:pink;">col-md-2</div> </div> </div> </body> </html>
Output
×
Save This try
Title
Description
<p>Dividing the row into six parts by using class <code>.col-md-2.</code></p>