Bootstrap 5 Author Box Section Component
The author box section is a mandatory choice for news-based websites. Use our Bootstrap 5 author box example for the kick start of your project.
<!-- Author 1 - HCF Bootstrap 5 Component -->
<section class="hcf-author-1 bg-light py-5 py-xl-6">
<div class="container overflow-hidden">
<div class="row justify-content-center gy-4 gy-md-0">
<div class="col-12 col-md-3 col-xl-2 d-flex align-items-center justify-content-center">
<img class="hcf-author-img img-fluid w-150px h-150px rounded-circle" loading="lazy" src="./assets/img/author/author-1/img-1.jpg" alt="">
</div>
<div class="col-12 col-md-8 col-lg-6 col-xl-5 d-flex align-items-center justify-content-center">
<div class="hcf-author-meta text-center text-md-start">
<h5 class="text-secondary fs-7">Article written by</h5>
<h2 class="fs-2 mb-3">Elio Evander</h2>
<p class="mb-3">Mauris at turpis sit amet turpis pretium imperdiet at eu tellus. Suspendisse imperdiet sapien id interdum scelerisque.</p>
<p class="mb-0">
<a href="#!" class="link-dark text-decoration-none">
View More Items
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-short" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z" />
</svg>
</a>
</p>
</div>
</div>
</div>
</div>
</section>
.g-6,
.gx-6 {
--bs-gutter-x: 4.5rem;
}
.g-6,
.gy-6 {
--bs-gutter-y: 4.5rem;
}
@media (min-width: 576px) {
.g-sm-6,
.gx-sm-6 {
--bs-gutter-x: 4.5rem;
}
.g-sm-6,
.gy-sm-6 {
--bs-gutter-y: 4.5rem;
}
}
@media (min-width: 768px) {
.g-md-6,
.gx-md-6 {
--bs-gutter-x: 4.5rem;
}
.g-md-6,
.gy-md-6 {
--bs-gutter-y: 4.5rem;
}
}
@media (min-width: 992px) {
.g-lg-6,
.gx-lg-6 {
--bs-gutter-x: 4.5rem;
}
.g-lg-6,
.gy-lg-6 {
--bs-gutter-y: 4.5rem;
}
}
@media (min-width: 1200px) {
.g-xl-6,
.gx-xl-6 {
--bs-gutter-x: 4.5rem;
}
.g-xl-6,
.gy-xl-6 {
--bs-gutter-y: 4.5rem;
}
}
@media (min-width: 1400px) {
.g-xxl-6,
.gx-xxl-6 {
--bs-gutter-x: 4.5rem;
}
.g-xxl-6,
.gy-xxl-6 {
--bs-gutter-y: 4.5rem;
}
}
.py-6 {
padding-top: 4.5rem !important;
padding-bottom: 4.5rem !important;
}
.fs-7 {
font-size: 0.875rem !important;
}
.w-100px {
width: 100px !important;
}
.w-150px {
width: 150px !important;
}
.w-200px {
width: 200px !important;
}
.h-100px {
height: 100px !important;
}
.h-150px {
height: 150px !important;
}
.h-200px {
height: 200px !important;
}
@media (min-width: 576px) {
.py-sm-6 {
padding-top: 4.5rem !important;
padding-bottom: 4.5rem !important;
}
}
@media (min-width: 768px) {
.py-md-6 {
padding-top: 4.5rem !important;
padding-bottom: 4.5rem !important;
}
}
@media (min-width: 992px) {
.py-lg-6 {
padding-top: 4.5rem !important;
padding-bottom: 4.5rem !important;
}
}
@media (min-width: 1200px) {
.py-xl-6 {
padding-top: 4.5rem !important;
padding-bottom: 4.5rem !important;
}
}
@media (min-width: 1400px) {
.py-xxl-6 {
padding-top: 4.5rem !important;
padding-bottom: 4.5rem !important;
}
}
.hcf-author-1 .hcf-author-img,
.hcf-author-1 .hcf-author-meta {
transition: transform 350ms cubic-bezier(0.16, 0.32, 0.21, 0.93);
}
.hcf-author-1:hover .hcf-author-img {
transform: translateX(48px);
}
.hcf-author-1:hover .hcf-author-meta {
transform: translateX(-8px);
}
Bootstrap 5 Author Box Snippet Example
Free Bootstrap 5 author box snippet is very helpful for designers and developers. Download and use this example to embellish your bootstrap templates.