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 { --coh-padding: 4rem 1.5rem; --coh-bg-color: #fafafa; --coh-content-bg: #ffffff; --coh-text-color: #3f3f46; --coh-headline-color: #18181b; --coh-accent-color: #059669; --coh-cta-bg: #059669; --coh-cta-hover-bg: #047857; --coh-cta-text-color: #ffffff; --coh-max-width: 1024px; --coh-border-radius: 12px; } .curriculum-overview-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(--coh-bg-color); padding: var(--coh-padding); width: 100%; display: flex; justify-content: center; align-items: center; } .curriculum-overview-hero * { box-sizing: border-box; } .curriculum-hero-container { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: var(--coh-max-width); width: 100%; background-color: var(--coh-content-bg); border-radius: var(--coh-border-radius); padding: 2rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05); } .coh-content .title { color: var(--coh-headline-color); font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.2; margin: 0 0 1rem; } .coh-content .description { color: var(--coh-text-color); margin: 0 0 2rem; line-height: 1.6; font-size: 1.1rem; } .coh-content .cta { display: inline-block; background-color: var(--coh-cta-bg); color: var(--coh-cta-text-color); padding: 0.9rem 2rem; border-radius: 8px; font-size: 1.05rem; font-weight: 600; text-decoration: none; transition: background-color 0.3s ease; } .coh-content .cta:hover { background-color: var(--coh-cta-hover-bg); } .coh-curriculum .list-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 1.5rem 0; color: var(--coh-headline-color); } .coh-curriculum .curriculum-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; } .coh-curriculum .curriculum-item { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--coh-text-color); } .coh-curriculum .curriculum-item svg { flex-shrink: 0; width: 1.25em; height: 1.25em; color: var(--coh-accent-color); margin-top: 0.15em; } @media(min-width: 992px) { .curriculum-hero-container { grid-template-columns: repeat(2, 1fr); gap: 4rem; padding: 4rem; } } </style> <!-- ====================================================================== HTML - Place this in your <body> where you want the component to appear. ====================================================================== --> <section class="curriculum-overview-hero"> <div class="curriculum-hero-container"> <div class="coh-content"> <h1 class="title">The Art of Storytelling</h1> <p class="description">Master the craft of narrative. This course covers everything from character development to plot structure, empowering you to write stories that captivate and resonate.</p> <a href="#" class="cta" role="button">Enroll in this Course</a> </div> <div class="coh-curriculum"> <h2 class="list-title">What you'll learn in this course:</h2> <ul class="curriculum-list"> <li class="curriculum-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" /></svg> <span>Core principles of narrative structure and pacing.</span> </li> <li class="curriculum-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" /></svg> <span>Techniques for creating memorable, multi-dimensional characters.</span> </li> <li class="curriculum-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" /></svg> <span>How to write compelling dialogue that reveals character and plot.</span> </li> <li class="curriculum-item"> <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" /></svg> <span>Strategies for revising and editing your work to a professional standard.</span> </li> </ul> </div> </div> </section>