Hero Section on HTML and CSS by Editorial Staff Output View Horizontal Vertical HTML CSS JS Tidy Hero Section In CSS Open Props Demo Contect Us The lorem ipsum of Hero section. Just customize your doodles and hero section, grab the code, and use them on your web prototypes, landing pages, or no-code tools. HTML CSS JS Tidy @import "https://unpkg.com/open-props"; @import "https://unpkg.com/open-props/normalize.min.css"; body { display: flex; } header { display: grid; align-items: center; grid-template-columns: 1fr 1fr; background: var(--grape-0); } .hero { padding: var(--size-10); display: grid; gap: var(--size-5); } .hero-message { display: grid; grid-template-columns: max-content; color: var(--gray-9); line-height: var(--font-lineheight-0); } .hero-message > div:last-child { color: orange: } .under-hero { color: var(--gray-7); font-size: var(--font-size-4); margin-block-end: var(--size-3); } .button-list { display: flex; gap: var(--size-3); } button { background: white; color: orange; font-size: var(--font-size-3); padding-inline: var(--size-8); padding-block: var(--size-3); border-radius: var(--radius-2); box-shadow: var(--shadow-2); } button.primary { background: orange; text-shadow: 0 1px 0 var(--indigo-9); color: white; } button.primary:hover { background: #f5a742; } .hero-pic { align-self: stretch; } .hero-pic > img { block-size: 100%; object-fit: cover; } HTML CSS JS Tidy >_Console Clear Console >_Console File Setting HTML Code Playground Setting Title Description Hero Section on HTML and CSS, Without any library. Just customize your doodles and hero section, grab the code, and use them on your landing pages. Catagory CSS Tags Call To Action Hero Section Resource Add External Stylesheets and Script