DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
About Section - Preview | DevPlatform
DevPlatform
Categories
Accordion
Animation
Box Shadow
Button
Card
Footer
Form
Gallery
Hero Section
Inputs
Loader
Marquee
Modal
Modules
Navbar
Progress Bar
Radio Buttons
Search-Bar
Sections
Slider
Tab
Timeline
Toggle
About Section
rohit
Feb 13, 2026
4
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<section class="hero-section"> <div class="background-shapes"> <div class="shape shape-1"></div> <div class="shape shape-2"></div> </div> <div class="section-content"> <div class="text-content"> <span class="section-label">Innovation Meets Design</span> <h1>Create Something Amazing</h1> <p class="description"> Transform your ideas into reality with our cutting-edge solutions. We combine creativity with technology to deliver exceptional experiences that captivate and inspire. </p> <div class="cta-buttons"> <a href="#" class="btn btn-primary">Get Started</a> <a href="#" class="btn btn-secondary">Learn More</a> </div> </div> <div class="visual-content"> <div class="floating-card card-1"> <div class="card-icon">🚀</div> <div class="card-title">Fast Performance</div> <p class="card-text">Lightning-fast load times and seamless interactions for optimal user experience.</p> </div> <div class="floating-card card-2"> <div class="card-icon">💎</div> <div class="card-title">Premium Quality</div> <p class="card-text">Crafted with attention to detail and built to last.</p> </div> <div class="floating-card card-3"> <div class="card-icon">🎨</div> <div class="card-title">Beautiful Design</div> <p class="card-text">Stunning visuals that leave lasting impressions.</p> </div> </div> </div> </section>
1
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; } .hero-section { max-width: 1200px; width: 100%; background: rgba(255, 255, 255, 0.95); border-radius: 30px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); position: relative; } .section-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 60px; align-items: center; } .text-content { z-index: 2; } .section-label { display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; animation: fadeInDown 0.8s ease; } h1 { font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 25px; line-height: 1.2; animation: fadeInUp 0.8s ease 0.2s both; } .description { font-size: 1.15rem; color: #555; line-height: 1.8; margin-bottom: 35px; animation: fadeInUp 0.8s ease 0.4s both; } .cta-buttons { display: flex; gap: 15px; animation: fadeInUp 0.8s ease 0.6s both; } .btn { padding: 16px 35px; border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; display: inline-block; } .btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4); } .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5); } .btn-secondary { background: transparent; color: #667eea; border: 2px solid #667eea; } .btn-secondary:hover { background: #667eea; color: white; transform: translateY(-3px); } .visual-content { position: relative; height: 500px; animation: fadeInRight 0.8s ease 0.4s both; } .floating-card { position: absolute; background: white; border-radius: 20px; padding: 25px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); animation: float 3s ease-in-out infinite; } .card-1 { top: 50px; left: 50px; width: 280px; animation-delay: 0s; } .card-2 { bottom: 80px; right: 30px; width: 250px; animation-delay: 1s; } .card-3 { top: 200px; right: 150px; width: 200px; animation-delay: 2s; } .card-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; font-size: 24px; } .card-title { font-size: 1.1rem; font-weight: 700; color: #333; margin-bottom: 8px; } .card-text { font-size: 0.9rem; color: #777; line-height: 1.5; } .background-shapes { position: absolute; width: 100%; height: 100%; overflow: hidden; z-index: 0; } .shape { position: absolute; border-radius: 50%; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1)); } .shape-1 { width: 300px; height: 300px; top: -100px; right: -100px; animation: rotate 20s linear infinite; } .shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; animation: rotate 15s linear infinite reverse; } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @media (max-width: 968px) { .section-content { grid-template-columns: 1fr; gap: 40px; padding: 50px 30px; } h1 { font-size: 2.5rem; } .visual-content { height: 400px; } .cta-buttons { flex-direction: column; } .btn { text-align: center; } } @media (max-width: 576px) { h1 { font-size: 2rem; } .description { font-size: 1rem; } .floating-card { padding: 20px; } .card-1, .card-2, .card-3 { width: 220px; } }
1
Comments
0
Want to comment?
Please
login
or
sign up
to post comments.
No comments yet
Be the first to comment on this component!
Comments 0
Want to comment?
Please login or sign up to post comments.
No comments yet
Be the first to comment on this component!