Grid system
Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, Sass variables and mixins, and dozens of predefined classes.
Five grid
Many customers ask about 5 grid in bootstrap
is col-24
in this grid you can divide columns into 5 parts or 20% width.
<div class="container">
<div class="row">
<div class="col-24">
One of five columns
</div>
<div class="col-24">
One of five columns
</div>
<div class="col-24">
One of five columns
</div>
<div class="col-24">
One of five columns
</div>
<div class="col-24">
One of five columns
</div>
</div>
</div>
5 grid is also responsive like other grid, you can use
.col-sm-24, .col-md-24, col-lg-24, .col-lg-24, .col-xl-24, .col-xxl-24
More grid
More grid can read in Official Bootstrap Documentation
Z-index
While not a part of Bootstrap’s grid system, z-indexes play an important part in how our components overlay and interact with one another.
Definition and Usage
The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.
Note: z-index only works on positioned elements (position: absolute, position: relative, position: fixed, or position: sticky).
Our z-index class list:
Z-index minus
.z-index-n100 {
z-index: -100;
}
.z-index-n10 {
z-index: -10;
}
.z-index-n5 {
z-index: -5;
}
.z-index-n4 {
z-index: -4;
}
.z-index-n3 {
z-index: -3;
}
.z-index-n2 {
z-index: -2;
}
.z-index-n1 {
z-index: -1;
}
Z-index
.z-index-1 {
z-index: 1;
}
.z-index-2 {
z-index: 2;
}
.z-index-3 {
z-index: 3;
}
.z-index-4 {
z-index: 4;
}
.z-index-5 {
z-index: 5;
}
.z-index-10 {
z-index: 10;
}
.z-index-20 {
z-index: 20;
}
.z-index-50 {
z-index: 50;
}
.z-index-100 {
z-index: 100;
}
Typography
Documentation and examples for Space typography, including global settings, headings, body text, lists, and more.
Headings
All HTML headings, <h1>
through <h6>
, are available.
|
h1. heading |
|
h2. heading |
|
h3. heading |
|
h4. heading |
|
h5. heading |
|
h6. heading |
<h1>h1. heading</h1>
<h2>h2. heading</h2>
<h3>h3. heading</h3>
<h4>h4. heading</h4>
<h5>h5. heading</h5>
<h6>h6. heading</h6>
.h1
through .h6
classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.
h1. heading
h2. heading
h3. heading
h4. heading
h5. heading
h6. heading
<p class="h1">h1. heading</p>
<p class="h2">h2. heading</p>
<p class="h3">h3. heading</p>
<p class="h4">h4. heading</p>
<p class="h5">h5. heading</p>
<p class="h6">h6. heading</p>
Display headings
Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.
Display 1 |
Display 2 |
Display 3 |
Display 4 |
Display 5 |
Display 6 |
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
Lead
Make a paragraph stand out by adding .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
<p class="lead text-muted">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
Blockquotes
For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote u-blockquote">
around any HTML as the quote.
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ Integer posuere erat a ante.
<blockquote class="blockquote u-blockquote">
<p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ Integer posuere erat a ante.</p>
<footer class="blockquote-footer">Quote by <cite title="Source Title">Ari Budin</cite></footer>
</blockquote>
Dropcaps
Add a dropcaps
for make big font in start your article.
Aenean sodales lacus est, at ultricies augue ele ifend sit amet. Be yourself everyone else is already taken, sem mi placerat felis, ac suscip ligula ex id metus. Vivamus aliquet sit amet nisi non faucibus. Orci varius natoque penatibus et magnis dis parturient montes.
<p><span class="dropcaps">A</span>enean sodales lacus est, at ultricies augue ele ifend sit amet.
everyone else is already taken, sem mi placerat felis, ac suscip ligula ex id metus. Vivamus aliquet sit amet nisi non faucibus.
Orci varius natoque penatibus et magnis dis parturient montes.</p>
RFS
RFS resizing engine responsively scales common CSS properties to better utilize available space across viewports and devices.
What is RFS?
Bootstrap’s side project RFS is a unit resizing engine which was initially developed to resize font sizes (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is capable of rescaling most CSS properties with unit values like margin, padding, border-radius, or even box-shadow.
The mechanism automatically calculates the appropriate values based on the dimensions of the browser viewport. It will be compiled into calc() functions with a mix of rem and viewport units to enable the responsive scaling behavior.
See the example below for source Sass and compiled CSS.
.title {
@include font-size(4rem);
}
Css will generate like this
.title {
font-size: calc(1.525rem + 3.3vw);
}
@media (max-width: 1200px) {
.title {
font-size: 4rem;
}
}
For more information about RFS read in here
Forms
Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.
Form Input pill
Make rounded form style with add form-pill
class in form-controll.
<form>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Email address</label>
<input type="email" class="form-control form-pill" id="exampleInputEmail1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" class="form-control form-pill" id="exampleInputPassword1">
</div>
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
You can read more documentation about forms in here Bootstrap Documentation
Animate Css
To sweeten the design, we make a simple animate css that can be used on certain elements.
Move
Make animate up and down with add .animated-up-down
classes.
Example code
<img class="img-fluid animated-up-down" src="src/img-min/svg/start_up.svg" alt="images title">
Hover
Make animate move up if hover with add .hover-box-up
classes.
Example code
<img class="img-fluid hover-box-up" src="src/img-min/svg/start_up.svg" alt="images title">
Avatars
Examples avatar classes for opting different size of image.
Example
Avatar classes are applied to the image so that it scales with the parent element.




<img class="avatar-xs" src="src/img-min/img1-small.jpg" alt="Image Description">
<img class="avatar-sm" src="src/img-min/img1-small.jpg" alt="Image Description">
<img class="avatar-md" src="src/img-min/img1-small.jpg" alt="Image Description">
<img class="avatar-lg" src="src/img-min/img1-small.jpg" alt="Image Description">
Bordered and rounded circle
Use bordered classes to wrap .avatar-
elements with rounded circle.




<img class="avatar-xs rounded-circle border border-light border-2" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
<img class="avatar-sm rounded-circle border border-light border-3" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
<img class="avatar-md rounded-circle border border-light border-4" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
<img class="avatar-lg rounded-circle border border-light border-5" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
Bordered and Shadow
Use bordered classes to wrap .avatar-
elements with shadow.




<img class="avatar-xs border border-light border-2 shadow" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
<img class="avatar-sm border border-light border-3 shadow" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
<img class="avatar-md border border-light border-4 shadow" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
<img class="avatar-lg border border-light border-5 shadow" src="src/img-min/avatar/img1-small.jpg" alt="Image Description">
Avatar Group
Create avatar group with add .avatar-group
classes.
<div class="avatar-group">
<a href="#">
<img class="avatar-md rounded-circle border border-light border-5" src="../../src/img-min/avatar/img1-small.jpg" alt="Image Description">
</a>
<a href="#">
<img class="avatar-md rounded-circle border border-light border-5" src="../../src/img-min/avatar/img2-small.jpg" alt="Image Description">
</a>
<a href="#">
<img class="avatar-md rounded-circle border border-light border-5" src="../../src/img-min/avatar/img3-small.jpg" alt="Image Description">
</a>
</div>
Background Video
Create background video embeds with parallax in section area.
Example
With this element you can make video background with title and description in cover pages. Responsive in any device, just copy youtube url and paste in here, very simple.
Example Text
Copy and paste following code
<!-- video start -->
<div id="hero" class="section">
<!-- Background YouTube Parallax -->
<div class="jarallax py-8 py-md-9 border-bottom z-index-1" data-jarallax-video="https://www.youtube.com/watch?v=6stlCkUDG_s">
<div class="container">
<div class="row justify-content-center">
<!-- content -->
<div class="col-lg-7" data-aos="fade-up">
<div class="text-center">
<h1 class="text-white">Example Text</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end video -->
Just replece following
https://www.youtube.com/watch?v=6stlCkUDG_s
Use this amazing feature on the background of any sections....
This also can applied in html video or vimeo video, just editing small code.
Buttons
Use yaghout custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
Example
Bootstrap includes several predefined button styles, each serving its own semantic purpose, with a few extras thrown in for more control.
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>
<button type="button" class="btn btn-link">Link</button>
<button type="button" class="btn btn-white">White</button>
<button type="button" class="btn btn-black">Black</button>
Sizes
Fancy larger or smaller buttons? Add .btn-lg
or .btn-sm
for additional sizes.
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<button type="button" class="btn btn-secondary btn-lg">Large button</button>
<button type="button" class="btn btn-primary btn-sm">Small button</button>
<button type="button" class="btn btn-secondary btn-sm">Small button</button>
Block button
Create responsive stacks of full-width, “block buttons” like those in Bootstrap 4 with a mix of our display and gap utilities. By using utilities instead of button specific classes, we have much greater control over spacing, alignment, and responsive behaviors.
<div class="d-grid gap-2">
<button class="btn btn-primary" type="button">Button</button>
<button class="btn btn-primary" type="button">Button</button>
</div>
For more documentation about button, you read in Bootstrap Documentation
Cards
yaghout cards provide a flexible and extensible content container with multiple variants and options.
Card Blogs
Card for make blog grid layout.
Great Layout and Grid
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است
New UI Design for 2020
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است
<!-- Card -->
<div class="card blog-two border-0 mb-4 mb-lg-0 rounded-3 overflow-hidden shadow-sm">
<div class="blog-two-img">
<a href="#">
<img class="img-fluid" src="assets/img-min/blog/blog3.jpg" alt="alt title">
</a>
</div>
<div class="card-body">
<span class="blog-author">
<a href="#"><img class="avatar-md mt-n-2 rounded-circle" src="assets/img-min/avatar/img3-small.jpg" alt="avatar"></a>
</span>
<div class="card-title">
<h3 class="h5 mb-3"><a href="#">Great Layout and Grid</a></h3>
<div class="text-muted">
<svg class="bi bi-calendar me-2 text-muted" width=".8rem" height=".8rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M14 0H2a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V2a2 2 0 00-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M6.5 7a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path>
</svg><span>04 May 2020</span>
</div>
</div>
<p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است</p>
</div>
</div><!-- End card -->
<!-- Card -->
<div class="card blog-one border-0 mb-4 mb-lg-0 rounded-3 overflow-hidden shadow-sm">
<div class="blog-one-img">
<a href="#">
<img class="img-fluid" src="assets/img-min/blog/blog1.jpg" alt="">
</a>
<div class="blog-one-category p-2 bg-primary">
<a class="text-white font-size-75" href="#">Creative</a>
</div>
</div>
<div class="card-body">
<div class="card-title">
<h3 class="h5 mb-3"><a href="#">New UI Design for 2020</a></h3>
<div class="text-muted">
<svg class="bi bi-calendar me-2 text-muted" width=".8rem" height=".8rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M14 0H2a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V2a2 2 0 00-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M6.5 7a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path>
</svg><span>04 May 2020</span>
</div>
</div>
<p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است</p>
</div>
</div><!-- end card -->
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ Maecenas in pulvinar neque.
New UI Design for 2020
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ Maecenas in pulvinar neque.
<!-- Card -->
<div class="card blog-three rounded-3 overflow-hidden border-0 mb-4 mb-lg-0">
<div class="blog-three-img">
<a href="#">
<img class="img-fluid" src="assets/img-min/blog/blog1.jpg" alt="">
</a>
<div class="post-date bg-light p-2">
<span class="date">12</span>
<span class="small">May</span>
</div>
</div>
<div class="card-body px-0">
<div class="card-title">
<h3 class="h5 mb-3"><a href="#">New UI Design for 2020</a></h3>
</div>
<p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ Maecenas in pulvinar neque.</p>
</div>
</div><!-- end card -->
<!-- Card -->
<div class="card blog-two mb-4 mb-lg-0 border-0 rounded-3 overflow-hidden hover-shadow-sm z-index-1">
<div class="z-index-n1">
<a href="#">
<img class="img-fluid" src="src/img-min/blog/blog1.jpg" alt="">
</a>
</div>
<div class="card-body bg-white text-center mx-4 mt-n6">
<div class="card-title">
<h3 class="h5 mb-3"><a href="#">New UI Design for 2020</a></h3>
<div class="text-muted">
<svg class="bi bi-calendar me-2 text-muted" width=".8rem" height=".8rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M14 0H2a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V2a2 2 0 00-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M6.5 7a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path>
</svg><span>04 May 2020</span>
</div>
</div>
<p>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ Maecenas in pulvinar neque.</p>
</div>
</div><!-- end card -->
You can read full documentation about card in Bootstrap Documentation
Dropdowns
Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin..
Dropdown example
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown button
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</div>
<br>
<!-- Example split success button -->
<div class="btn-group">
<button type="button" class="btn btn-success">Action</button>
<button type="button" class="btn btn-success dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
<span class="visually-hidden">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>
<br><br>
<div class="dropdown">
<button class="btn btn-dark dropdown-toggle" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown button
</button>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="dropdownMenuButton2">
<li><a class="dropdown-item active" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>
Dropdown Submenu
This is Dropdown menu with list submenu, this dropdown submenu also supported dropdown reverse
.
If used sub dropdown menu, you must add this css .dropdown-submenu
in parent submenu and .submenu
in next dropdown-menu.
<!--dropdown submenu-->
<li class="nav-item dropdown">
<a id="navbarhome" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Pages</a>
<!--link-->
<ul class="dropdown-menu dropdown-menu-lg-center" aria-labelledby="navbarhome">
<!--submenu-->
<li class="dropdown-submenu">
<a id="sub2" class="dropdown-item dropdown-toggle" href="#">Pages</a>
<!--link-->
<ul class="submenu dropdown-menu" aria-labelledby="sub2">
<li class="dropdown-submenu">
<a id="sub350" class="dropdown-item dropdown-toggle" href="#">
Basic</a>
<!--child submenu-->
<ul class="submenu dropdown-menu" aria-labelledby="sub350">
<li><a class="dropdown-item" href="#">404</a></li>
<li><a class="dropdown-item" href="#">Classic</a></li>
<li><a class="dropdown-item" href="#">Coming Soon</a></li>
<li><a class="dropdown-item" href="#">FAQ</a></li>
<li><a class="dropdown-item" href="#">Term of Use</a></li>
</ul>
<!--End child submenu-->
</li>
<li><a class="dropdown-item" href="#">About</a></li>
<li><a class="dropdown-item" href="#">Career</a></li>
<li><a class="dropdown-item" href="#">Contact</a></li>
<li><a class="dropdown-item" href="#">Portfolio</a></li>
<li><a class="dropdown-item" href="#">Pricing</a></li>
<li><a class="dropdown-item" href="#">Services</a></li>
</ul>
</li>
<!--end submenu-->
<!--submenu-->
<li class="dropdown-submenu">
<a id="sub22" class="dropdown-item dropdown-toggle" href="#">Blogs</a>
<!--link-->
<ul class="submenu dropdown-menu" aria-labelledby="sub22">
<li><a class="dropdown-item" href="#">Blog</a></li>
<li><a class="dropdown-item" href="#">Search</a></li>
<li><a class="dropdown-item" href="#">Author</a></li>
<li><a class="dropdown-item" href="#">Single Article</a></li>
<li><a class="dropdown-item" href="#">Classic Article</a></li>
</ul>
</li>
<!--end submenu-->
<!--submenu-->
<li class="dropdown-submenu">
<a id="sub221" class="dropdown-item dropdown-toggle" href="#">Users</a>
<!--link-->
<ul class="submenu dropdown-menu" aria-labelledby="sub221">
<li><a class="dropdown-item" href="#">Login</a></li>
<li><a class="dropdown-item" href="#">Register</a></li>
<li><a class="dropdown-item" href="#">Recover</a></li>
</ul>
</li>
<!--end submenu-->
</ul>
<!-- end link -->
</li>
You can read more documentation about dropdown in Bootstrap documentation.
Dropdown Mega Menu
Documentation and examples for powerful, and responsive navigation mega menu.
Medium menu with Svg icons
This is a medium dropdown menu with svg icons
<!--medium menu with svg icon-->
<li class="nav-item dropdown">
<a id="navbarmd" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Docs</a>
<div class="dropdown-menu dropdown-menu-md dropdown-menu-lg-center p-4" aria-labelledby="navbarmd">
<div class="list-group list-group-flush">
<a class="list-group-item dropdown-item d-flex align-item-center" href="#">
<!-- Icon -->
<div class="align-self-center text-primary">
<svg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 512 512'><path stroke="currentColor" d='M416,221.25V416a48,48,0,0,1-48,48H144a48,48,0,0,1-48-48V96a48,48,0,0,1,48-48h98.75a32,32,0,0,1,22.62,9.37L406.63,198.63A32,32,0,0,1,416,221.25Z' style='fill:none;stroke-linejoin:round;stroke-width:32px'/><path stroke="currentColor" d='M256,56V176a32,32,0,0,0,32,32H408' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='176' y1='288' x2='336' y2='288' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='176' y1='368' x2='336' y2='368' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<!-- Content -->
<div class="ms-4 align-self-center">
<h6 class="fw-medium text-uppercase mb-0">
Documentation
</h6>
<p class="text-light-blue mb-0">
Development guides
</p>
</div>
</a>
<a class="list-group-item dropdown-item d-flex align-item-center" href="#">
<!-- Icon -->
<div class="align-self-center text-primary">
<svg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 512 512'><rect stroke="currentColor" x='48' y='48' width='176' height='176' rx='20' ry='20' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><rect stroke="currentColor" x='288' y='48' width='176' height='176' rx='20' ry='20' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><rect stroke="currentColor" x='48' y='288' width='176' height='176' rx='20' ry='20' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><rect stroke="currentColor" x='288' y='288' width='176' height='176' rx='20' ry='20' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<!-- Content -->
<div class="ms-4 align-self-center">
<h6 class="fw-medium text-uppercase mb-0">
Components
</h6>
<p class="text-light-blue mb-0">
Full list of components
</p>
</div>
</a>
<a class="list-group-item dropdown-item d-flex align-item-center" href="#">
<!-- Icon -->
<div class="align-self-center text-primary">
<svg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 512 512'><polyline stroke="currentColor" points='160 368 32 256 160 144' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><polyline stroke="currentColor" points='352 368 480 256 352 144' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='304' y1='96' x2='208' y2='416' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<!-- Content -->
<div class="ms-4 align-self-center">
<h6 class="fw-medium text-uppercase mb-0">
Changelog
</h6>
<p class="text-light-blue mb-0">
Keep track of changes
</p>
</div>
<!-- Badge -->
<span class="badge bg-light text-primary rounded-md ms-auto align-self-center">
1.0.0
</span>
</a>
</div>
</div>
</li>
You can settings this mega menu in hover or click style. If you want to use click style, just remove class .hover-navbar
from main-nav navbar navbar-expand-lg hover-navbar
Mobile menu
We have two navigation style sidebar mobile menu and Dropdown mobile menu
Navbar
Documentation and examples for Bootstrap’s powerful, responsive navigation header, the navbar. Includes support for branding, navigation, and more, including support for our collapse plugin.
Particles
Make your landing page more atractive with add particles css.
Particles move up
Add particles css with moving up
<!-- rocket moving up animation -->
<div class="particle">
<div class="particle-move-up d-none d-lg-block particle-move-up-1 text-light z-index-n1 opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="2rem" height="2rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up particle-move-up-2 text-light z-index-n1 opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="1rem" height="1rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up d-none d-sm-block particle-move-up-3 text-light z-index-n1 opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="1.5rem" height="1.5rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up d-none d-xl-block particle-move-up-4 text-light z-index-n1 opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="1rem" height="1rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up d-none d-sm-block particle-move-up-5 text-light z-index-n1 opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="1.2rem" height="1.2rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up border-success text-light particle-move-up-6 z-index-n1 opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="2rem" height="2rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up particle-move-up-7 z-index-n1 text-light opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="1.5rem" height="1.5rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up particle-move-up-8 z-index-n1 text-light opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="1.2rem" height="1.2rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
<div class="particle-move-up particle-move-up-9 z-index-n1 text-light opacity-60">
<svg xmlns="http://www.w3.org/2000/svg" class="rotate-315" width="2rem" height="2rem" fill="currentColor" viewBox="0 0 512 512"><path d="M461.81,53.81a4.4,4.4,0,0,0-3.3-3.39c-54.38-13.3-180,34.09-248.13,102.17a294.9,294.9,0,0,0-33.09,39.08c-21-1.9-42-.3-59.88,7.5-50.49,22.2-65.18,80.18-69.28,105.07a9,9,0,0,0,9.8,10.4l81.07-8.9a180.29,180.29,0,0,0,1.1,18.3,18.15,18.15,0,0,0,5.3,11.09l31.39,31.39a18.15,18.15,0,0,0,11.1,5.3,179.91,179.91,0,0,0,18.19,1.1l-8.89,81a9,9,0,0,0,10.39,9.79c24.9-4,83-18.69,105.07-69.17,7.8-17.9,9.4-38.79,7.6-59.69a293.91,293.91,0,0,0,39.19-33.09C427.82,233.76,474.91,110.9,461.81,53.81ZM298.66,213.67a42.7,42.7,0,1,1,60.38,0A42.65,42.65,0,0,1,298.66,213.67Z" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path class="text-warning" fill="currentColor" d="M109.64,352a45.06,45.06,0,0,0-26.35,12.84C65.67,382.52,64,448,64,448s65.52-1.67,83.15-19.31A44.73,44.73,0,0,0,160,402.32" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
</div>
</div>
Change rocket icon with easy way, just replace with svg icon code from Bootstrap icons or Ionicons. Color and z-index also can change from svg code.
Scroll rotate
Rotate element if scroll up or down
Subcribe Newsletter
Subscribe to our mailing list to receives daily updates!
<!-- =========={ SUBCRIBE }========== -->
<div id="subcribe" class="section pt-7 pb-8 bg-white overflow-hidden">
<!-- particle moving animation -->
<div class="particle">
<div class="scroll-rotate position-absolute opacity-50 text-primary z-index-n1" style="right:9%;bottom: 72%;">
<svg class="bi bi-bounding-box-circles" width="2rem" height="2rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-warning z-index-n1" style="right:12%;bottom: 30%;">
<svg class="bi bi-bounding-box-circles" width="2rem" height="2rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-danger d-none d-lg-block z-index-n1" style="right:22%;bottom: 55%;">
<svg class="bi bi-bounding-box-circles" width="1.5rem" height="1.5rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-danger d-none d-lg-block z-index-n1" style="left:40%;top: 20%;">
<svg class="bi bi-bounding-box-circles" width="1.5rem" height="1.5rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-primary z-index-n1" style="left:60%;bottom: 20%;">
<svg class="bi bi-bounding-box-circles" width="1.5rem" height="1.5rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-warning z-index-n1" style="left:20%;bottom: 60%;">
<svg class="bi bi-bounding-box-circles" width="1.5rem" height="1.5rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-primary z-index-n1" style="left:12%;bottom: 30%;">
<svg class="bi bi-bounding-box-circles" width="2rem" height="2rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
<div class="scroll-rotate position-absolute opacity-50 text-success z-index-n1" style="left:6%;bottom:75%;">
<svg class="bi bi-bounding-box-circles" width="2rem" height="2rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.5 2h-9V1h9v1zm-10 1.5v9h-1v-9h1zm11 9v-9h1v9h-1zM3.5 14h9v1h-9v-1z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M14 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zM2 3a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4zm0 11a1 1 0 100-2 1 1 0 000 2zm0 1a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
</svg>
</div>
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-8 col-md-6" data-aos="fade-up">
<!-- Title -->
<div class="text-center mx-auto mb-4">
<svg class="bi bi-envelope-open text-primary mb-4" width="5rem" height="5rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M.243 6.929l.514-.858L8 10.417l7.243-4.346.514.858L8 11.583.243 6.93z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M7.184 10.68L.752 14.432l-.504-.864L6.68 9.816l.504.864zm1.632 0l6.432 3.752.504-.864L9.32 9.816l-.504.864z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M8.47 1.318a1 1 0 00-.94 0l-6 3.2A1 1 0 001 5.4V14a1 1 0 001 1h12a1 1 0 001-1V5.4a1 1 0 00-.53-.882l-6-3.2zM7.06.435a2 2 0 011.882 0l6 3.2A2 2 0 0116 5.4V14a2 2 0 01-2 2H2a2 2 0 01-2-2V5.4a2 2 0 011.059-1.765l6-3.2z" clip-rule="evenodd"></path>
</svg>
<h2><span class="fw-light">Subcribe</span> Newsletter</h2>
<hr class="divider my-4 mx-auto bg-warning border-warning">
<p class="lead tect-light-blue mb-0">Subscribe to our mailing list to receives daily updates!</p>
</div><!-- End Title -->
<!--form-->
<div class="mx-auto">
<form id="subscribe1" class="needs-validation" action="#" novalidate="">
<div class="row">
<div class="col-12 col-lg-8 mb-4 mb-lg-0">
<input type="email" class="form-control" id="email" placeholder="Email address" name="email">
</div>
<div class="col-12 col-lg-4">
<button type="submit" class="btn btn-primary btn-block mb-2">Subcribe!</button>
</div>
</div>
</form>
</div><!--end form-->
</div>
</div>
</div><!-- end subcribe -->
</div><!-- End Contact Form -->
Ribbon
Add ribbon in left or right any element.
Installation
Add ribbon element in card, pricing or other element with paste following code.
<!-- ribbon left lg-->
<div class="ribbon ribbon-lg ribbon-start z-index-10">
<span class="bg-success">Large</span>
</div>
<!-- ribbon right lg-->
<div class="ribbon ribbon-lg ribbon-end z-index-10">
<span class="bg-success">Large</span>
</div>
<!-- ribbon left md-->
<div class="ribbon ribbon-md ribbon-start z-index-10">
<span class="bg-success">Medium</span>
</div>
<!-- ribbon right md-->
<div class="ribbon ribbon-md ribbon-end z-index-10">
<span class="bg-success">Medium</span>
</div>
<!-- ribbon left sm-->
<div class="ribbon ribbon-sm ribbon-start z-index-10">
<span class="bg-success">Small</span>
</div>
<!-- ribbon right sm-->
<div class="ribbon ribbon-sm ribbon-end z-index-10">
<span class="bg-success">Small</span>
</div>
Dont forget to add position relative
in parent this code
Spinners
Indicate the loading state of a component or page with Bootstrap spinners, built entirely with HTML, CSS, and no JavaScript.
Spinners example
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-border text-secondary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-border text-success" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-border text-danger" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-grow text-warning" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-grow text-info" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-grow text-light" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-grow text-dark" role="status">
<span class="visually-hidden">Loading...</span>
</div>
Preloader
Preloader is the what you see on some sites before the main content of the web page is loaded.
Example code
<!-- preloader -->
<div id="preloader" class="preloader bg-light">
<div class="position-absolute start-50 top-50 translate-middle-x">
<div class="position-relative mx-auto my-5">
<!-- bootstrap spinner -->
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</div>
</div>
Add loader-wrapper just below the body
tag
If you want to replace loading style, you can replace bootstrap spinner
with images or custom loading.
You can read more documentation about spinners in Bootstrap documentation.
Tabs
Takes the basic nav from above and adds the .nav-tabs class to generate a tabbed interface. Use them to create tabbable regions with our tab JavaScript plugin.
Tabs SVG Icon
Tabs with svg icons
<ul class="row text-center g-0 tab-profile nav nav-tabs border-bottom-0" id="nav-tab" role="tablist">
<li class="col-6 col-lg-3">
<a class="rounded-0 active" id="nav-home-tab" data-bs-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true">
<!-- navigate block -->
<div class="p-4 p-lg-5">
<div class="mb-2 text-primary">
<!-- icon -->
<svg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 512 512'><path stroke="currentColor" d='M80,212V448a16,16,0,0,0,16,16h96V328a24,24,0,0,1,24-24h80a24,24,0,0,1,24,24V464h96a16,16,0,0,0,16-16V212' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><path stroke="currentColor" d='M480,256,266.89,52c-5-5.28-16.69-5.34-21.78,0L32,256' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><polyline stroke="currentColor" points='400 179 400 64 352 64 352 133' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<h4 class="h5 mb-0">Home</h4>
</div><!-- end navigate block -->
</a>
</li>
<li class="col-6 col-lg-3">
<a class="rounded-0" id="nav-profile-tab" data-bs-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false">
<!-- navigate block -->
<div class="p-4 p-lg-5">
<div class="mb-2 text-primary">
<!-- icon -->
<svg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 512 512'><rect stroke="currentColor" x='96' y='48' width='320' height='416' rx='48' ry='48' style='fill:none;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='176' y1='128' x2='336' y2='128' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='176' y1='208' x2='336' y2='208' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='176' y1='288' x2='256' y2='288' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<h4 class="h5 mb-0">Services</h4>
</div><!-- end navigate block -->
</a>
</li>
<li class="col-6 col-lg-3">
<a class="rounded-0" id="nav-portfolio-tab" data-bs-toggle="tab" href="#nav-portfolio" role="tab" aria-controls="nav-portfolio" aria-selected="false">
<!-- navigate block -->
<div class="p-4 p-lg-5">
<div class="mb-2 text-primary">
<!-- icon -->
<svg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 512 512'><path stroke="currentColor" d='M440,432H72a40,40,0,0,1-40-40V120A40,40,0,0,1,72,80h75.89a40,40,0,0,1,22.19,6.72l27.84,18.56A40,40,0,0,0,220.11,112H440a40,40,0,0,1,40,40V392A40,40,0,0,1,440,432Z' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line stroke="currentColor" x1='32' y1='192' x2='480' y2='192' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<h4 class="h5 mb-0">Portfolio</h4>
</div><!-- end navigate block -->
</a>
</li>
<li class="col-6 col-lg-3">
<a class="rounded-0" id="nav-contact-tab" data-bs-toggle="tab" href="#nav-contact" role="tab" aria-controls="nav-contact" aria-selected="false">
<!-- navigate block -->
<div class="p-4 p-lg-5">
<div class="mb-2 text-primary">
<!-- icon -->
<svg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 512 512'><rect stroke="currentColor" x='48' y='96' width='416' height='320' rx='40' ry='40' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><polyline stroke="currentColor" points='112 160 256 272 400 160' style='fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/></svg>
</div>
<h4 class="h5 mb-0">Contact</h4>
</div><!-- end navigate block -->
</a>
</li>
</ul>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
tabs one
</div>
<div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">
tabs two
</div>
<div class="tab-pane fade" id="nav-portfolio" role="tabpanel" aria-labelledby="nav-portfolio-tab">
tabs three
</div>
<div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab">
tabs four
</div>
</div>
You can read full documentation about tabs in Bootstrap Documentation
Toasts
Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.
Toasts example
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<img src="..." class="rounded me-2" alt="...">
<strong class="me-auto">Bootstrap</strong>
<small>11 mins ago</small>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
Hello, world! This is a toast message.
</div>
</div>
You can read more documentation about popovers in Bootstrap documentation.
Colors
Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too.
Text Color
.text-primary
.text-secondary
.text-success
.text-danger
.text-warning
.text-info
.text-light
.text-dark
.text-body
.text-muted
.text-black-50
.text-white
.text-light-70
.text-white-50
<p class="text-primary">.text-primary</p>
<p class="text-secondary">.text-secondary</p>
<p class="text-success">.text-success</p>
<p class="text-danger">.text-danger</p>
<p class="text-warning">.text-warning</p>
<p class="text-info">.text-info</p>
<p class="text-light bg-dark">.text-light</p>
<p class="text-dark">.text-dark</p>
<p class="text-body">.text-body</p>
<p class="text-muted">.text-muted</p>
<p class="text-black-50">.text-black-50</p>
<p class="text-white bg-dark">.text-white</p>
<p class="text-light-70 bg-dark">.text-light-70</p>
<p class="text-white-50 bg-dark">.text-white-50</p>
Contextual text classes also work well on anchors with the provided hover and focus states. Note that the .text-white
and .text-muted
class has no link styling.
<p><a href="#" class="text-primary">Primary link</a></p>
<p><a href="#" class="text-secondary">Secondary link</a></p>
<p><a href="#" class="text-success">Success link</a></p>
<p><a href="#" class="text-danger">Danger link</a></p>
<p><a href="#" class="text-warning">Warning link</a></p>
<p><a href="#" class="text-info">Info link</a></p>
<p><a href="#" class="text-light bg-dark">Light link</a></p>
<p><a href="#" class="text-dark">Dark link</a></p>
<p><a href="#" class="text-muted">Muted link</a></p>
<p><a href="#" class="text-white bg-dark">White link</a></p>
Background color
Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes. Background utilities do not set color
, so in some cases you'll want to use .text-*
utilities.
<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
<div class="p-3 mb-2 bg-info text-white">.bg-info</div>
<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
<div class="p-3 mb-2 bg-black text-white">.bg-black</div>
<div class="p-3 mb-2 bg-transparent text-dark">.bg-transparent</div>
Background Gradient
<div class="p-3 mb-2 bg-gradient-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-gradient-secondary text-white">.bg-secondary</div>
Opacity
The opacity-level describes the transparency-level, where 1 is not transparent at all, 0.5 is 50% see-through, and 0 is completely transparent. Note: When using the opacity property to add transparency to the background of an element, all of its child elements become transparent as well.
Examples






<img src="../assets/img-min/img1.jpg" class="opacity-50" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="opacity-60" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="opacity-70" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="opacity-80" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="opacity-90" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="opacity-100" alt="Example" />
Notation
The classes are named using the format {property}-{size}
.
Where property is one of:
opacity
- for classes that setopacity
Where size is one of:
0
- (by default) for classes that set theopacity
to0 (transparent)
10
- (by default) for classes that set theopacity
to.1
20
- (by default) for classes that set theopacity
to.2
30
- (by default) for classes that set theopacity
to.3
40
- (by default) for classes that set theopacity
to.4
50
- (by default) for classes that set theopacity
to.5
60
- (by default) for classes that set theopacity
to.6
70
- (by default) for classes that set theopacity
to.7
80
- (by default) for classes that set theopacity
to.8
90
- (by default) for classes that set theopacity
to.9
100
- (by default) for classes that set theopacity
to1 (normal)
Overlay
Overlay means to cover the surface of something with a coating. In other words, it is used to set one thing on the top of another. Creating an overlay effect means to put two div together at the same place.
Example Overlay
Add overlay css with background color and opacity.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. A voluptatum ullam temporibus similique delectus quo neque cumque, iusto voluptate ducimus ratione
Lorem ipsum dolor sit amet, consectetur adipisicing elit. A voluptatum ullam temporibus similique delectus quo neque cumque, iusto voluptate ducimus ratione
<div class="position-relative p-5" style="background-image: url('src/img-min/bg/bg-business.jpg');">
<div class="overlay bg-gradient-primary opacity-80"></div>
<div class="position-relative">
<p class="text-light">Lorem ipsum dolor sit amet, consectetur adipisicing elit. A voluptatum ullam temporibus similique delectus quo neque cumque, iusto voluptate ducimus ratione</p>
</div>
</div>
<div class="position-relative p-5" style="background-image: url('src/img-min/bg/bg-business.jpg');">
<div class="overlay bg-warning opacity-80"></div>
<div class="position-relative">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. A voluptatum ullam temporibus similique delectus quo neque cumque, iusto voluptate ducimus ratione</p>
</div>
</div>
Easy to change color and customize opacity
<div class="overlay bg-primary opacity-80"></div>
<div class="overlay bg-danger opacity-50"></div>
<div class="overlay bg-warning opacity-60"></div>
Rotate
Use this class to rotate element.
Example
Add classes to an element to easily rotate your images.







<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-45" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-90" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-135" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-180" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-225" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-270" alt="Example" />
<img src="../assets/img-min/img1.jpg" class="rounded-circle rotate-315" alt="Example" />
Shadows
Add or remove shadows to elements with `box-shadow` utilities.
Examples Shadow
While shadows on components are disabled by default in Bootstrap and can be enabled via $enable-shadows
, you can also quickly add or remove a shadow with our box-shadow
utility classes. Includes support for .shadow-none
and three default sizes (which have associated variables to match).
<div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div>
<div class="shadow-sm p-3 mb-5 bg-white rounded">Small shadow</div>
<div class="shadow p-3 mb-5 bg-white rounded">Regular shadow</div>
<div class="shadow-lg p-3 mb-5 bg-white rounded">Larger shadow</div>
<div class="shadow-right-bottom p-3 mb-5 bg-white rounded">Right Bottom shadow</div>
<div class="shadow-bottom p-3 mb-5 bg-white rounded">Bottom shadow</div>
Spacing
yaghout includes a wide range of shorthand responsive margin and padding utility classes to modify an element's appearance.
Margin and Padding
Assign responsive-friendly margin
or padding
values to an element or a subset of its sides with shorthand classes. Includes support for individual properties, all properties, and vertical and horizontal properties.
Notation
Spacing utilities that apply to all breakpoints, from xs
to xl
, have no breakpoint abbreviation in them. This is because those classes are applied from min-width: 0
and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation.
The classes are named using the format {property}{sides}-{size}
for xs
and {property}{sides}-{breakpoint}-{size}
for sm
, md
, lg
, and xl
.
Where property is one of:
m
- for classes that setmargin
p
- for classes that setpadding
Where sides is one of:
t
- for classes that setmargin-top
orpadding-top
b
- for classes that setmargin-bottom
orpadding-bottom
s
- for classes that setmargin-left
orpadding-left
e
- for classes that setmargin-right
orpadding-right
x
- for classes that set both*-left
and*-right
y
- for classes that set both*-top
and*-bottom
- blank - for classes that set a
margin
orpadding
on all 4 sides of the element
Where size is one of:
0
- for classes that eliminate themargin
orpadding
by setting it to0
1
- (by default) for classes that set themargin
orpadding
to.25
2
- (by default) for classes that set themargin
orpadding
to.5
3
- (by default) for classes that set themargin
orpadding
to1
4
- (by default) for classes that set themargin
orpadding
to1.5
5
- (by default) for classes that set themargin
orpadding
to3
6
- (by default) for classes that set themargin
orpadding
to4.5
7
- (by default) for classes that set themargin
orpadding
to6
8
- (by default) for classes that set themargin
orpadding
to7.5
9
- (by default) for classes that set themargin
orpadding
to9
auto
- for classes that set themargin
to auto
<div class="ms-1">margin left .25rem</div>
<div class="me-2">margin right .5rem</div>
<div class="mt-3">margin top 1rem</div>
<div class="mb-4">margin bottom 1.5rem</div>
<div class="mx-6">margin horizontal 4.5rem</div>
<div class="my-7">margin vertical 6rem</div>
You can editing sizes from: src/scss/_variables.scss
Editing spacing code from src/scss/bootstrap/utilities/_spacing.scss
Read more documentation in here
Social Buttons
This is extra social button for make your project easy, this button use fontawesome & bootstrap classes.
You also can use button size with add
.btn-lg
or.btn-sm