I'll provide a responsive Bootstrap hero component with an image background and text/buttons on the left side. Here's a comprehensive example:
<div class="hero-section position-relative vh-100 d-flex align-items-center">
<div class="bg-image position-absolute top-0 start-0 w-100 h-100"
style="background-image: url('your-background-image.jpg');
background-size: cover;
background-position: center;
filter: brightness(0.6);">
</div>
<div class="container position-relative">
<div class="row align-items-center">
<div class="col-lg-6 text-white">
<h1 class="display-4 fw-bold mb-4">Welcome to Our Platform</h1>
<p class="lead mb-4">
Discover amazing features and incredible opportunities
that will transform your experience.
</p>
<div class="d-flex gap-3">
<a href="#" class="btn btn-primary btn-lg">
Get Started
</a>
<a href="#" class="btn btn-outline-light btn-lg">
Learn More
</a>
</div>
</div>
</div>
</div>
</div>
This component includes:
✅ Full-height hero section
✅ Background image with overlay
✅ Responsive text positioning
✅ Two action buttons
✅ Dark text overlay for readability
Recommended Bootstrap CSS/JS dependencies:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
Key features:
- Responsive design
- Centered text on left side
- Darkened background for text legibility
- Flexible button styling
Customize the text, buttons, and background image to match your specific design needs.