Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <!-- ====================================================================== CSS - Place this in your <head> or in an external stylesheet. ====================================================================== --> <style> :root { /* Demonstration image from Unsplash. Replace with your own team photo. */ --tfh-bg-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1400'); --tfh-min-height: 60vh; --tfh-padding: 4rem 1.5rem; --tfh-text-color: #ffffff; --tfh-overlay-color: rgba(17, 24, 39, 0.6); --tfh-cta-bg: #ffffff; --tfh-cta-text-color: #111827; --tfh-cta-hover-bg: #f3f4f6; } .team-focused-hero { box-sizing: border-box; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; min-height: var(--tfh-min-height); padding: var(--tfh-padding); width: 100%; position: relative; display: flex; justify-content: center; align-items: center; text-align: center; background-image: var(--tfh-bg-image); background-size: cover; background-position: center; } .team-focused-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--tfh-overlay-color); z-index: 1; } .team-focused-hero * { box-sizing: border-box; } .team-focused-hero-content { position: relative; z-index: 2; max-width: 800px; color: var(--tfh-text-color); } .team-focused-hero-title { margin: 0 0 1rem 0; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; } .team-focused-hero-subtitle { opacity: 0.9; font-size: clamp(1.1rem, 3vw, 1.25rem); line-height: 1.6; margin: 0 0 2rem 0; max-width: 650px; margin-left: auto; margin-right: auto; } .team-focused-hero-cta { display: inline-block; background-color: var(--tfh-cta-bg); color: var(--tfh-cta-text-color); padding: 0.8rem 1.8rem; border-radius: 6px; border: none; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease; } .team-focused-hero-cta:hover { background-color: var(--tfh-cta-hover-bg); } </style> <!-- ====================================================================== HTML - Place this in your <body> where you want the component to appear. ====================================================================== --> <section class="team-focused-hero"> <div class="team-focused-hero-content"> <h1 class="team-focused-hero-title">The People Behind the Progress</h1> <p class="team-focused-hero-subtitle"> Our success is driven by a passionate, collaborative team dedicated to building exceptional products and fostering great partnerships. </p> <a href="#" role="button" class="team-focused-hero-cta">Meet Our Team</a> </div> </section>