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 { --psh-padding: 4rem 1.5rem; --psh-min-height: 450px; --psh-bg-color: #ffffff; --psh-text-color: #495057; --psh-headline-color: #212529; --psh-cta-bg: #28a745; --psh-cta-hover-bg: #218838; --psh-cta-text-color: #ffffff; --psh-max-width: 800px; } .problem-solution-hero { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; width: 100%; background-color: var(--psh-bg-color); color: var(--psh-text-color); padding: var(--psh-padding); min-height: var(--psh-min-height); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; } .problem-solution-hero * { box-sizing: border-box; } .problem-solution-hero-content { max-width: var(--psh-max-width); } .problem-solution-hero-problem { margin: 0 0 1rem 0; font-size: clamp(2rem, 6vw, 3.25rem); color: var(--psh-headline-color); font-weight: 700; line-height: 1.25; } .problem-solution-hero-solution { margin: 0 0 2.5rem 0; font-size: clamp(1.1rem, 3vw, 1.25rem); line-height: 1.6; } .problem-solution-hero-cta { display: inline-block; background-color: var(--psh-cta-bg); color: var(--psh-cta-text-color); padding: 1rem 2.5rem; border: none; border-radius: 6px; font-size: 1.1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease; } .problem-solution-hero-cta:hover { background-color: var(--psh-cta-hover-bg); } </style> <!-- ====================================================================== HTML - Place this in your <body> where you want the component to appear. ====================================================================== --> <section class="problem-solution-hero"> <div class="problem-solution-hero-content"> <h1 class="problem-solution-hero-problem">Tired of disorganized customer feedback data?</h1> <p class="problem-solution-hero-solution"> Our platform consolidates feedback from email, social media, and surveys into one intelligent dashboard, so you can stop chasing tickets and start building what your customers actually want. </p> <a href="#" role="button" class="problem-solution-hero-cta">See How it Works</a> </div> </section>