Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Double Dropdown
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(7)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(1)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(34)
Non Standard
(1)
Reverse
(11)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(14)
Gallery
All
(7)
4 Images
(1)
5 Images
(1)
6 Images
(1)
8 Images
(2)
Full Width
(0)
Mosaic
(0)
Multi Gallery
(1)
Simple
(1)
Meet Our Team
All
(5)
2 Card
(0)
3 Card
(1)
4 Card
(2)
5 Card
(1)
6 Card
(0)
7 Card
(0)
8 Card
(1)
Combo
(0)
Steps
All
(4)
3 Steps
(2)
4 Steps
(2)
5 Steps
(0)
Stats
All
(5)
2 Stats
(0)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
Price List
(0)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(5)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(2)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(8)
Contact Forms
(8)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
Service Page
(0)
Right Aligned
HTML
CSS
Core Styles
Choose your preferred CSS
CSS
LESS
SCSS
CSS Dark
LESS Dark
SCSS Dark
Choose your preferred Core Styles CSS
CSS
LESS
SCSS
-
Dark Mode
+
Dark Mode
Copy
to Clipboard
<!-- ============================================ --> <!-- Hero --> <!-- ============================================ --> <section id="hero-856"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Modern and Professional</span> <h1 class="cs-title">Physical Therapy & Health and Wellness</h1> <p class="cs-text"> Lorem ipsum dolor sit, amet consectetur adipisicing elit. Temporibus unde id saepe quo. Est, ea! Lorem, ipsum dolor sit amet consectetur adipisicing elit. Id, provident? Lorem ipsum dolor sit amet consectetur adipisicing. </p> <a href="" class="cs-button-solid">Schedule An Appointment</a> </div> <!--Hero Image--> <picture class="cs-picture"> <!--Mobile--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images%2FPeople%2Ftherapy.jpg"> <!--Tablet--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images%2FPeople%2Ftherapy.jpg"> <!--Desktop--> <source media="(min-width: 1024px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images%2FPeople%2Ftherapy.jpg"> <img aria-hidden="true" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images%2FPeople%2Ftherapy.jpg" alt="therapy" width="570" height="701"> </picture> </div> <!--Change the svg path fill color to whatever color the section below is so you can match it and create the illusion it is all one piece--> <svg class="cs-wave" width="1920" height="179" viewBox="0 0 1920 179" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M1920 179V91.3463C1835.33 91.3463 1715.47 76.615 1549.2 32.9521C1299.48 -32.3214 1132.77 12.1006 947.32 61.5167C810.762 97.9044 664.042 137 466.533 137C331.607 137 256.468 123.447 188.082 111.113C130.974 100.812 78.5746 91.3609 0 91.3609V179H1920Z" fill="white"/> </svg> </section>
/*-- -------------------------- --> <--- Hero --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #hero-856 { /* centers button */ text-align: center; /* 116px - 164px top */ /* 60px - 100px bottom */ padding: clamp(7.25rem, 16.82vw, 10.25rem) 1rem clamp(3.75rem, 7.82vw, 6.25rem); background-color: #f7f7f7; /* clips the svg wave from overflowing */ overflow: hidden; position: relative; z-index: 1; } #hero-856 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 3rem; } #hero-856 .cs-content { max-width: 39.375rem; display: flex; justify-content: center; align-items: center; flex-direction: column; } #hero-856 .cs-topper { font-size: 1rem; line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } #hero-856 .cs-title { /* 39px - 61px */ font-size: clamp(2.4375rem, 5vw, 3.8125rem); font-weight: 900; line-height: 1.2em; text-align: center; /* 23 characters including spaces wide */ max-width: 23ch; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } #hero-856 .cs-text { /* 16px - 20px */ font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5em; text-align: center; width: 100%; max-width: 33.1875rem; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0; color: var(--bodyTextColor); } #hero-856 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); border-radius: 0.25rem; display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #hero-856 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: 0.25rem; transition: width 0.3s; } #hero-856 .cs-button-solid:hover:before { width: 100%; } #hero-856 .cs-picture { width: 100%; max-width: 35.625rem; /* 400px - 712px */ height: clamp(25rem, 95vw, 44.5rem); /* 100px - 200px */ border-radius: 0 clamp(6.25rem, 17vw, 12.5rem) 0 clamp(6.25rem, 17vw, 12.5rem); box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16); /* clips the img tag corners */ overflow: hidden; display: block; position: relative; } #hero-856 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes image act as a background image */ object-fit: cover; /* ensures the top of the images is at the top of the container, no heads getting cut off */ object-position: top; } #hero-856 .cs-wave { /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */ width: 320%; height: auto; display: block; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: -1; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #hero-856 { text-align: left; } #hero-856 .cs-container { flex-direction: row; justify-content: space-between; } #hero-856 .cs-content { width: 40vw; /* prevents flex-box from squishing it */ flex: none; align-items: flex-start; /* sends it to the right in the 2nd position */ order: 2; } #hero-856 .cs-title, #hero-856 .cs-text { text-align: left; } #hero-856 .cs-picture { /* 623px - 814px */ height: clamp(38.9375rem, 60vw, 50.875rem); } #hero-856 .cs-wave { width: 100%; left: 0; /* flips it horizontally */ transform: scaleX(-1); } }
/*-- -------------------------- --> <--- Hero --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #hero-856 { /* centers button */ text-align: center; /* 116px - 164px top */ /* 60px - 100px bottom */ padding: clamp(7.25rem, 16.82vw, 10.25rem) 1rem clamp(3.75rem, 7.82vw, 6.25rem); background-color: #f7f7f7; /* clips the svg wave from overflowing */ overflow: hidden; position: relative; z-index: 1; } #hero-856 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 3rem; } #hero-856 .cs-content { max-width: 39.375rem; display: flex; justify-content: center; align-items: center; flex-direction: column; } #hero-856 .cs-topper { font-size: 1rem; line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } #hero-856 .cs-title { /* 39px - 61px */ font-size: clamp(2.4375rem, 5vw, 3.8125rem); font-weight: 900; line-height: 1.2em; text-align: center; /* 23 characters including spaces wide */ max-width: 23ch; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } #hero-856 .cs-text { /* 16px - 20px */ font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5em; text-align: center; width: 100%; max-width: 33.1875rem; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0; color: var(--bodyTextColor); } #hero-856 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); border-radius: 0.25rem; display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #hero-856 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: 0.25rem; transition: width 0.3s; } #hero-856 .cs-button-solid:hover:before { width: 100%; } #hero-856 .cs-picture { width: 100%; max-width: 35.625rem; /* 400px - 712px */ height: clamp(25rem, 95vw, 44.5rem); /* 100px - 200px */ border-radius: 0 clamp(6.25rem, 17vw, 12.5rem) 0 clamp(6.25rem, 17vw, 12.5rem); box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16); /* clips the img tag corners */ overflow: hidden; display: block; position: relative; } #hero-856 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes image act as a background image */ object-fit: cover; /* ensures the top of the images is at the top of the container, no heads getting cut off */ object-position: top; } #hero-856 .cs-wave { /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */ width: 320%; height: auto; display: block; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: -1; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #hero-856 { text-align: left; } #hero-856 .cs-container { flex-direction: row; justify-content: space-between; } #hero-856 .cs-content { width: 40vw; /* prevents flex-box from squishing it */ flex: none; align-items: flex-start; /* sends it to the right in the 2nd position */ order: 2; } #hero-856 .cs-title, #hero-856 .cs-text { text-align: left; } #hero-856 .cs-picture { /* 623px - 814px */ height: clamp(38.9375rem, 60vw, 50.875rem); } #hero-856 .cs-wave { width: 100%; left: 0; /* flips it horizontally */ transform: scaleX(-1); } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #hero-856 { background-color: rgba(0, 0, 0, 0.2); } body.dark-mode #hero-856 .cs-title, body.dark-mode #hero-856 .cs-text, body.dark-mode #hero-856 .cs-number, body.dark-mode #hero-856 .cs-desc { color: var(--bodyTextColorWhite); } body.dark-mode #hero-856 .cs-wave path { fill: var(--dark); } }
/*-- -------------------------- --> <--- Hero --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #hero-856 { /* centers button */ text-align: center; /* 116px - 164px top */ /* 60px - 100px bottom */ padding: clamp(7.25rem, 16.82vw, 10.25rem) (16/16rem) clamp(3.75rem, 7.82vw, 6.25rem); background-color: #f7f7f7; /* clips the svg wave from overflowing */ overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: (48/16rem); } .cs-content { max-width: (630/16rem); display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-topper { font-size: (16/16rem); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { /* 39px - 61px */ font-size: clamp(2.4375rem, 5vw, 3.8125rem); font-weight: 900; line-height: 1.2em; text-align: center; /* 23 characters including spaces wide */ max-width: 23ch; margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { /* 16px - 20px */ font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5em; text-align: center; width: 100%; max-width: (531/16rem); /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0; color: var(--bodyTextColor); } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); border-radius: (4/16rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: (4/16rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-picture { width: 100%; max-width: (570/16rem); /* 400px - 712px */ height: clamp(25rem, 95vw, 44.5rem); /* 100px - 200px */ border-radius: 0 clamp(6.25rem, 17vw, 12.5rem) 0 clamp(6.25rem, 17vw, 12.5rem); box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16); /* clips the img tag corners */ overflow: hidden; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes image act as a background image */ object-fit: cover; /* ensures the top of the images is at the top of the container, no heads getting cut off */ object-position: top; } } .cs-wave { /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */ width: 320%; height: auto; display: block; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: -1; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #hero-856 { text-align: left; .cs-container { flex-direction: row; justify-content: space-between; } .cs-content { width: 40vw; /* prevents flex-box from squishing it */ flex: none; align-items: flex-start; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-text { text-align: left; } .cs-picture { /* 623px - 814px */ height: clamp(38.9375rem, 60vw, 50.875rem); } .cs-wave { width: 100%; left: 0; /* flips it horizontally */ transform: scaleX(-1); } } }
/*-- -------------------------- --> <--- Hero --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #hero-856 { /* centers button */ text-align: center; /* 116px - 164px top */ /* 60px - 100px bottom */ padding: clamp(7.25rem, 16.82vw, 10.25rem) (16/16rem) clamp(3.75rem, 7.82vw, 6.25rem); background-color: #f7f7f7; /* clips the svg wave from overflowing */ overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: (48/16rem); } .cs-content { max-width: (630/16rem); display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-topper { font-size: (16/16rem); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { /* 39px - 61px */ font-size: clamp(2.4375rem, 5vw, 3.8125rem); font-weight: 900; line-height: 1.2em; text-align: center; /* 23 characters including spaces wide */ max-width: 23ch; margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { /* 16px - 20px */ font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5em; text-align: center; width: 100%; max-width: (531/16rem); /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0; color: var(--bodyTextColor); } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); border-radius: (4/16rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: (4/16rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-picture { width: 100%; max-width: (570/16rem); /* 400px - 712px */ height: clamp(25rem, 95vw, 44.5rem); /* 100px - 200px */ border-radius: 0 clamp(6.25rem, 17vw, 12.5rem) 0 clamp(6.25rem, 17vw, 12.5rem); box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16); /* clips the img tag corners */ overflow: hidden; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes image act as a background image */ object-fit: cover; /* ensures the top of the images is at the top of the container, no heads getting cut off */ object-position: top; } } .cs-wave { /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */ width: 320%; height: auto; display: block; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: -1; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #hero-856 { text-align: left; .cs-container { flex-direction: row; justify-content: space-between; } .cs-content { width: 40vw; /* prevents flex-box from squishing it */ flex: none; align-items: flex-start; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-text { text-align: left; } .cs-picture { /* 623px - 814px */ height: clamp(38.9375rem, 60vw, 50.875rem); } .cs-wave { width: 100%; left: 0; /* flips it horizontally */ transform: scaleX(-1); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #hero-856 { background-color: rgba(0, 0, 0, 0.2); .cs-title, .cs-text, .cs-number, .cs-desc { color: var(--bodyTextColorWhite); } .cs-wave { path { fill: var(--dark); } } } } }
/*-- -------------------------- --> <--- Hero --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #hero-856 { /* centers button */ text-align: center; /* 116px - 164px top */ /* 60px - 100px bottom */ padding: clamp(7.25rem, 16.82vw, 10.25rem) calc(16/16 * 1rem) clamp(3.75rem, 7.82vw, 6.25rem); background-color: #f7f7f7; /* clips the svg wave from overflowing */ overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: calc(1280/16 * 1rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: calc(48/16 * 1rem); } .cs-content { max-width: calc(630/16 * 1rem); display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-topper { font-size: calc(16/16 * 1rem); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4/16 * 1rem); display: block; } .cs-title { /* 39px - 61px */ font-size: clamp(2.4375rem, 5vw, 3.8125rem); font-weight: 900; line-height: 1.2em; text-align: center; /* 23 characters including spaces wide */ max-width: 23ch; margin: 0 0 calc(16/16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { /* 16px - 20px */ font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5em; text-align: center; width: 100%; max-width: calc(531/16 * 1rem); /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0; color: var(--bodyTextColor); } .cs-button-solid { font-size: calc(16/16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150/16 * 1rem); padding: 0 calc(24/16 * 1rem); background-color: var(--primary); border-radius: calc(4/16 * 1rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: calc(4/16 * 1rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-picture { width: 100%; max-width: calc(570/16 * 1rem); /* 400px - 712px */ height: clamp(25rem, 95vw, 44.5rem); /* 100px - 200px */ border-radius: 0 clamp(6.25rem, 17vw, 12.5rem) 0 clamp(6.25rem, 17vw, 12.5rem); box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16); /* clips the img tag corners */ overflow: hidden; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes image act as a background image */ object-fit: cover; /* ensures the top of the images is at the top of the container, no heads getting cut off */ object-position: top; } } .cs-wave { /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */ width: 320%; height: auto; display: block; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: -1; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #hero-856 { text-align: left; .cs-container { flex-direction: row; justify-content: space-between; } .cs-content { width: 40vw; /* prevents flex-box from squishing it */ flex: none; align-items: flex-start; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-text { text-align: left; } .cs-picture { /* 623px - 814px */ height: clamp(38.9375rem, 60vw, 50.875rem); } .cs-wave { width: 100%; left: 0; /* flips it horizontally */ transform: scaleX(-1); } } }
/*-- -------------------------- --> <--- Hero --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #hero-856 { /* centers button */ text-align: center; /* 116px - 164px top */ /* 60px - 100px bottom */ padding: clamp(7.25rem, 16.82vw, 10.25rem) calc(16/16 * 1rem) clamp(3.75rem, 7.82vw, 6.25rem); background-color: #f7f7f7; /* clips the svg wave from overflowing */ overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: calc(1280/16 * 1rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: calc(48/16 * 1rem); } .cs-content { max-width: calc(630/16 * 1rem); display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-topper { font-size: calc(16/16 * 1rem); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4/16 * 1rem); display: block; } .cs-title { /* 39px - 61px */ font-size: clamp(2.4375rem, 5vw, 3.8125rem); font-weight: 900; line-height: 1.2em; text-align: center; /* 23 characters including spaces wide */ max-width: 23ch; margin: 0 0 calc(16/16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { /* 16px - 20px */ font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5em; text-align: center; width: 100%; max-width: calc(531/16 * 1rem); /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0; color: var(--bodyTextColor); } .cs-button-solid { font-size: calc(16/16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150/16 * 1rem); padding: 0 calc(24/16 * 1rem); background-color: var(--primary); border-radius: calc(4/16 * 1rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: calc(4/16 * 1rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-picture { width: 100%; max-width: calc(570/16 * 1rem); /* 400px - 712px */ height: clamp(25rem, 95vw, 44.5rem); /* 100px - 200px */ border-radius: 0 clamp(6.25rem, 17vw, 12.5rem) 0 clamp(6.25rem, 17vw, 12.5rem); box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16); /* clips the img tag corners */ overflow: hidden; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes image act as a background image */ object-fit: cover; /* ensures the top of the images is at the top of the container, no heads getting cut off */ object-position: top; } } .cs-wave { /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */ width: 320%; height: auto; display: block; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: -1; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #hero-856 { text-align: left; .cs-container { flex-direction: row; justify-content: space-between; } .cs-content { width: 40vw; /* prevents flex-box from squishing it */ flex: none; align-items: flex-start; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-text { text-align: left; } .cs-picture { /* 623px - 814px */ height: clamp(38.9375rem, 60vw, 50.875rem); } .cs-wave { width: 100%; left: 0; /* flips it horizontally */ transform: scaleX(-1); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #hero-856 { background-color: rgba(0, 0, 0, 0.2); .cs-title, .cs-text, .cs-number, .cs-desc { color: var(--bodyTextColorWhite); } .cs-wave { path { fill: var(--dark); } } } } }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 43.75rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 40.625rem; margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: (700/16rem); margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4 / 16 * 1rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: calc(700 / 16 * 1rem); margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: calc(650 / 16 * 1rem); margin: 0; color: var(--bodyTextColor); }
Lorem Ipsum
Undo