<div className="container-fluid mt-1 mb-3">
</div>
The bootstrap container-fluid is used for the full-width container of the display screen. This responsive container-fluid can modify as per display screen size.
Where property is one of:
m- for classes that setmarginp- for classes that setpadding
Where sides is one of:
t- for classes that setmargin-toporpadding-topb- for classes that setmargin-bottomorpadding-bottoml- for classes that setmargin-leftorpadding-leftr- for classes that setmargin-rightorpadding-rightx- for classes that set both*-leftand*-righty- for classes that set both*-topand*-bottom- blank - for classes that set a
marginorpaddingon all 4 sides of the element
Where size is one of:
0- for classes that eliminate themarginorpaddingby setting it to01- (by default) for classes that set themarginorpaddingto$spacer * .252- (by default) for classes that set themarginorpaddingto$spacer * .53- (by default) for classes that set themarginorpaddingto$spacer4- (by default) for classes that set themarginorpaddingto$spacer * 1.55- (by default) for classes that set themarginorpaddingto$spacer * 3auto- for classes that set themarginto auto
.mt-1 {
margin-top: ($spacer * .25) !important;
}.mb-3 {
margin-bottomn: $spacer !important;
}<div className="col-lg-12">
</div>
Grid columns are created by specifying the number of twelve available
columns you wish to span. For example, three equal columns would use
three .col-xs-4.
Extra small devices
Phones (<768px) .col-xs-
Small devices
Tablets (≥768px) .col-sm-
Medium devices
Desktops (≥992px) .col-md-
Large devices
Desktops (≥1200px) .col-lg-
<div className="card">
</div>
A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options.
Example:
<div class="card" style="width: 18rem;">
<img class="card-img-top" src="..." alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. Textual form controls—like <input>s, <select>s, and <textarea>s—are styled with the .form-control class under .form-group. Included are styles for general appearance, focus state, sizing, and more. <div className="row">
<div className="col-2 text-left form-group">
<label for="exampleFormControlInput1">Email address</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder= </div> <div class="form-group">
<label for="exampleFormControlSelect2">Example multiple select</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
</select>
</div> </div> Example of col-6:
<div class="container">
<div class="row">
<div class="col">
1 of 3
</div>
<div class="col-6">
2 of 3 (wider)
</div>
<div class="col">
3 of 3
</div>
</div></div>Total 12 column width, col-6 takes 6 column width, the rest two takes 3 column width