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 { --ahh-padding: 4rem 1.5rem; --ahh-bg-color: #f9fafb; --ahh-text-color: #374151; --ahh-headline-color: #111827; --ahh-accent-color: #4f46e5; --ahh-cta-bg: #4f46e5; --ahh-cta-hover-bg: #4338ca; --ahh-cta-text-color: #ffffff; --ahh-max-width: 1100px; } .agenda-highlight-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"; background-color: var(--ahh-bg-color); padding: var(--ahh-padding); width: 100%; display: flex; justify-content: center; align-items: center; } .agenda-highlight-hero * { box-sizing: border-box; } .agenda-hero-container { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: var(--ahh-max-width); width: 100%; align-items: center; } .agenda-hero-content .title { font-size: clamp(2rem, 5vw, 3rem); color: var(--ahh-headline-color); font-weight: 700; line-height: 1.2; margin: 0 0 1rem; } .agenda-hero-content .subtitle { font-size: 1.1rem; color: var(--ahh-text-color); line-height: 1.6; margin: 0 0 2rem 0; } .agenda-hero-content .cta { display: inline-block; background-color: var(--ahh-cta-bg); color: var(--ahh-cta-text-color); padding: 0.9rem 2rem; font-size: 1rem; font-weight: 600; border: none; border-radius: 8px; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease; } .agenda-hero-content .cta:hover { background-color: var(--ahh-cta-hover-bg); } .agenda-hero-highlights .list-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 1rem 0; color: var(--ahh-headline-color); } .agenda-hero-highlights .agenda-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; } .agenda-hero-highlights .agenda-item { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--ahh-text-color); } .agenda-hero-highlights .agenda-item svg { flex-shrink: 0; width: 1.25em; height: 1.25em; color: var(--ahh-accent-color); margin-top: 0.15em; } @media(min-width: 768px) { .agenda-hero-container { grid-template-columns: repeat(2, 1fr); gap: 4rem; } } </style> <!-- ====================================================================== HTML - Place this in your <body> where you want the component to appear. ====================================================================== --> <section class="agenda-highlight-hero"> <div class="agenda-hero-container"> <div class="agenda-hero-content"> <h1 class="title">Explore the Forefront of AI</h1> <p class="subtitle">Join industry leaders and innovators for a two-day event packed with deep dives, hands-on workshops, and networking opportunities.</p> <a href="#" class="cta" role="button">Download Full Agenda</a> </div> <div class="agenda-hero-highlights"> <h2 class="list-title">Key Topics Include:</h2> <ul class="agenda-list"> <li class="agenda-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg> <span>The Future of Generative AI in Business</span> </li> <li class="agenda-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg> <span>Ethical Frameworks for Machine Learning</span> </li> <li class="agenda-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg> <span>Hands-On Workshop: Building with Large Language Models</span> </li> <li class="agenda-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg> <span>Fireside Chat: Investment Trends in the AI Sector</span> </li> </ul> </div> </div> </section>