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)
Slideshow
(0)
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)
Standard
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
<!-- ============================================ --> <!-- Side By Side --> <!-- ============================================ --> <section id="sbs-2295"> <div class="cs-container"> <div class="cs-image-group"> <!--Main Image--> <div class="cs-picture-wrapper1"> <picture class="cs-picture cs-picture1"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Landscapes/construction-before1.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Landscapes/construction-before1.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Landscapes/construction-before1.png" alt="construction" width="272" height="337"> </picture> <span class="cs-tag">Before</span> </div> <!--Small Image--> <div class="cs-picture-wrapper2"> <picture class="cs-picture cs-picture2"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Landscapes/construction-after1.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Landscapes/construction-after1.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Landscapes/construction-after1.png" alt="construction" width="243" height="367"> </picture> <span class="cs-tag">After</span> </div> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/before-after-arrow.svg" alt="arrow" width="148" height="54"> </div> <div class="cs-content"> <span class="cs-topper">Service</span> <h2 class="cs-title">Modern Home Extension</h2> <p class="cs-text"> A seamless extension to an existing family home, adding a new living area and additional bedrooms. The project emphasized maintaining architectural consistency and enhancing the home's functionality. </p> <h3 class="cs-h3">Our Process</h3> <ul class="cs-ul"> <li class="cs-li"> <strong>Initial Consultation</strong>: Identified the client's needs and their goals for future growth. </li> <li class="cs-li"> <strong>Design Integration</strong>: Ensured the extension matched the original structure. </li> <li class="cs-li"> <strong>Construction</strong>: Built the extension with high-quality materials. </li> <li class="cs-li"> <strong>Interior Finishing</strong>: We integrated the new space with the existing interiors, enhancing functionality and aesthetics. </li> </ul> <a href="" class="cs-button-solid">Book An Appointment</a> </div> </div> </section>
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-2295 { padding: var(--sectionPadding); background-color: #fefcf4; overflow: hidden; position: relative; z-index: 1; } #sbs-2295 .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: 44rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 4vw, 4rem); } #sbs-2295 .cs-image-group { /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */ font-size: min(1.98vw, .826rem); /* everything inside this box is in ems so we can scale it all down proportionally with a font size */ width: 46.125em; height: 36.125em; order: -1; position: relative; z-index: 1; /* prevents flexbox from squishing it */ flex: none; } #sbs-2295 .cs-picture { width: 100%; height: 100%; border: 1em solid var(--bodyTextColorWhite); display: block; } #sbs-2295 .cs-picture img { width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; } #sbs-2295 .cs-picture-wrapper1 { width: 25.75em; height: 28.5625em; display: flex; flex-direction: column; gap: 1rem; position: absolute; top: 0; left: 0; } #sbs-2295 .cs-picture-wrapper2 { width: 25.8125em; height: 29.625em; display: flex; flex-direction: column-reverse; gap: 1rem; position: absolute; right: 0; bottom: 0; } #sbs-2295 .cs-tag { /* 14px - 24px */ font-size: clamp(0.875rem, 1.4vw, 1.5rem); font-weight: 700; line-height: 1.2em; text-align: center; color: var(--headerColor); } #sbs-2295 .cs-arrow { width: 9.25em; height: 3.375em; position: absolute; top: 15.125em; left: 15.9375em; transform: rotate(30deg); } #sbs-2295 .cs-content { /* set text align to center if content needs to be centrally aligned */ text-align: left; width: 100%; max-width: 36.625rem; display: flex; flex-direction: column; /* aligns content to the left, set to center to centrally align */ align-items: flex-start; } #sbs-2295 .cs-title { max-width: 30ch; } #sbs-2295 .cs-text { margin-bottom: 1rem; } #sbs-2295 .cs-text:last-of-type { margin-bottom: 1.5rem; } #sbs-2295 .cs-button-solid { font-size: 1rem; font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: 9.375rem; margin: 0; padding: 0 1.5rem; background-color: var(--primary); color: var(--headerColor); display: inline-block; position: relative; z-index: 1; } #sbs-2295 .cs-button-solid:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; border-radius: 0.25rem; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #sbs-2295 .cs-button-solid:hover:before { width: 100%; } #sbs-2295 .cs-h3 { font-size: 1rem; font-weight: 700; line-height: 1.5em; margin: 0; color: var(--headerColor); } #sbs-2295 .cs-ul { margin: 0.75rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; } #sbs-2295 .cs-li { font-size: 1rem; line-height: 1.5em; list-style: none; /* 20px - 24px */ padding-left: clamp(1.25rem, 3vw, 1.5rem); color: var(--bodyTextColor); position: relative; } #sbs-2295 .cs-li strong { color: #1a1a1a; } #sbs-2295 .cs-li::before { content: ""; width: 0.5rem; height: 0.5rem; margin-top: 0.5rem; background-color: var(--secondary); display: block; position: absolute; top: 0; left: 0; transform: rotate(45deg); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-2295 .cs-container { max-width: 80rem; } #sbs-2295 .cs-image-group { order: initial; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-2295 .cs-container { flex-direction: row; align-items: stretch; } #sbs-2295 .cs-image-group { font-size: min(1.03vw, 1rem); height: auto; } #sbs-2295 .cs-picture-wrapper1 { height: auto; bottom: 7.5625em; } #sbs-2295 .cs-picture-wrapper2 { height: auto; top: 6.5em; } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-2295 { padding: var(--sectionPadding); background-color: #fefcf4; overflow: hidden; position: relative; z-index: 1; } #sbs-2295 .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: 44rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 4vw, 4rem); } #sbs-2295 .cs-image-group { /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */ font-size: min(1.98vw, .826rem); /* everything inside this box is in ems so we can scale it all down proportionally with a font size */ width: 46.125em; height: 36.125em; order: -1; position: relative; z-index: 1; /* prevents flexbox from squishing it */ flex: none; } #sbs-2295 .cs-picture { width: 100%; height: 100%; border: 1em solid var(--bodyTextColorWhite); display: block; } #sbs-2295 .cs-picture img { width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; } #sbs-2295 .cs-picture-wrapper1 { width: 25.75em; height: 28.5625em; display: flex; flex-direction: column; gap: 1rem; position: absolute; top: 0; left: 0; } #sbs-2295 .cs-picture-wrapper2 { width: 25.8125em; height: 29.625em; display: flex; flex-direction: column-reverse; gap: 1rem; position: absolute; right: 0; bottom: 0; } #sbs-2295 .cs-tag { /* 14px - 24px */ font-size: clamp(0.875rem, 1.4vw, 1.5rem); font-weight: 700; line-height: 1.2em; text-align: center; color: var(--headerColor); } #sbs-2295 .cs-arrow { width: 9.25em; height: 3.375em; position: absolute; top: 15.125em; left: 15.9375em; transform: rotate(30deg); } #sbs-2295 .cs-content { /* set text align to center if content needs to be centrally aligned */ text-align: left; width: 100%; max-width: 36.625rem; display: flex; flex-direction: column; /* aligns content to the left, set to center to centrally align */ align-items: flex-start; } #sbs-2295 .cs-title { max-width: 30ch; } #sbs-2295 .cs-text { margin-bottom: 1rem; } #sbs-2295 .cs-text:last-of-type { margin-bottom: 1.5rem; } #sbs-2295 .cs-button-solid { font-size: 1rem; font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: 9.375rem; margin: 0; padding: 0 1.5rem; background-color: var(--primary); color: var(--headerColor); display: inline-block; position: relative; z-index: 1; } #sbs-2295 .cs-button-solid:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; border-radius: 0.25rem; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #sbs-2295 .cs-button-solid:hover:before { width: 100%; } #sbs-2295 .cs-h3 { font-size: 1rem; font-weight: 700; line-height: 1.5em; margin: 0; color: var(--headerColor); } #sbs-2295 .cs-ul { margin: 0.75rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; } #sbs-2295 .cs-li { font-size: 1rem; line-height: 1.5em; list-style: none; /* 20px - 24px */ padding-left: clamp(1.25rem, 3vw, 1.5rem); color: var(--bodyTextColor); position: relative; } #sbs-2295 .cs-li strong { color: #1a1a1a; } #sbs-2295 .cs-li::before { content: ""; width: 0.5rem; height: 0.5rem; margin-top: 0.5rem; background-color: var(--secondary); display: block; position: absolute; top: 0; left: 0; transform: rotate(45deg); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-2295 .cs-container { max-width: 80rem; } #sbs-2295 .cs-image-group { order: initial; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-2295 .cs-container { flex-direction: row; align-items: stretch; } #sbs-2295 .cs-image-group { font-size: min(1.03vw, 1rem); height: auto; } #sbs-2295 .cs-picture-wrapper1 { height: auto; bottom: 7.5625em; } #sbs-2295 .cs-picture-wrapper2 { height: auto; top: 6.5em; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #sbs-2295 { background-color: rgba(0, 0, 0, 0.2); } body.dark-mode #sbs-2295 .cs-title, body.dark-mode #sbs-2295 .cs-text, body.dark-mode #sbs-2295 .cs-h3, body.dark-mode #sbs-2295 .cs-li, body.dark-mode #sbs-2295 .cs-tag { color: var(--bodyTextColorWhite); } body.dark-mode #sbs-2295 .cs-text, body.dark-mode #sbs-2295 .cs-li { opacity: 0.8; } body.dark-mode #sbs-2295 .cs-text strong, body.dark-mode #sbs-2295 .cs-li strong { color: var(--bodyTextColorWhite); } body.dark-mode #sbs-2295 .cs-picture { border-color: var(--medium); } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-2295 { padding: var(--sectionPadding); background-color: #fefcf4; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: (704/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 4vw, 4rem); } .cs-image-group { /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */ font-size: ~"min(1.98vw, .826rem)"; /* everything inside this box is in ems so we can scale it all down proportionally with a font size */ width: (738/16em); height: (578/16em); order: -1; position: relative; z-index: 1; /* prevents flexbox from squishing it */ flex: none; } .cs-picture { width: 100%; height: 100%; border: (16/16em) solid var(--bodyTextColorWhite); display: block; img { width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; } } .cs-picture-wrapper1 { width: (412/16em); height: (457/16em); display: flex; flex-direction: column; gap: (16/16rem); position: absolute; top: 0; left: 0; } .cs-picture-wrapper2 { width: (413/16em); height: (474/16em); display: flex; flex-direction: column-reverse; gap: (16/16rem); position: absolute; right: 0; bottom: 0; } .cs-tag { /* 14px - 24px */ font-size: clamp(0.875rem, 1.4vw, 1.5rem); font-weight: 700; line-height: 1.2em; text-align: center; color: var(--headerColor); } .cs-arrow { width: (148/16em); height: (54/16em); position: absolute; top: (242/16em); left: (255/16em); transform: rotate(30deg); } .cs-content { /* set text align to center if content needs to be centrally aligned */ text-align: left; width: 100%; max-width: (586/16rem); display: flex; flex-direction: column; /* aligns content to the left, set to center to centrally align */ align-items: flex-start; } .cs-title { max-width: 30ch; } .cs-text { margin-bottom: (16/16rem); &:last-of-type { margin-bottom: (24/16rem); } } .cs-button-solid { font-size: (16/16rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: (150/16rem); margin: 0; padding: 0 (24/16rem); background-color: var(--primary); color: var(--headerColor); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; border-radius: (4/16rem); position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-h3 { font-size: (16/16rem); font-weight: 700; line-height: 1.5em; margin: 0; color: var(--headerColor); } .cs-ul { margin: (12/16rem) 0 (32/16rem); padding: 0; display: flex; flex-direction: column; gap: (12/16rem); } .cs-li { font-size: (16/16rem); line-height: 1.5em; list-style: none; /* 20px - 24px */ padding-left: clamp(1.25rem, 3vw, 1.5rem); color: var(--bodyTextColor); position: relative; strong { color: #1a1a1a; } &::before { content: ""; width: (8/16rem); height: (8/16rem); margin-top: (8/16rem); background-color: var(--secondary); display: block; position: absolute; top: 0; left: 0; transform: rotate(45deg); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-2295 { .cs-container { max-width: (1280/16rem); } .cs-image-group { order: initial; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-2295 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image-group { font-size: ~"min(1.03vw, 1rem)"; height: auto; } .cs-picture-wrapper1 { height: auto; bottom: (121/16em); } .cs-picture-wrapper2 { height: auto; top: (104/16em); } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-2295 { padding: var(--sectionPadding); background-color: #fefcf4; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: (704/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 4vw, 4rem); } .cs-image-group { /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */ font-size: ~"min(1.98vw, .826rem)"; /* everything inside this box is in ems so we can scale it all down proportionally with a font size */ width: (738/16em); height: (578/16em); order: -1; position: relative; z-index: 1; /* prevents flexbox from squishing it */ flex: none; } .cs-picture { width: 100%; height: 100%; border: (16/16em) solid var(--bodyTextColorWhite); display: block; img { width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; } } .cs-picture-wrapper1 { width: (412/16em); height: (457/16em); display: flex; flex-direction: column; gap: (16/16rem); position: absolute; top: 0; left: 0; } .cs-picture-wrapper2 { width: (413/16em); height: (474/16em); display: flex; flex-direction: column-reverse; gap: (16/16rem); position: absolute; right: 0; bottom: 0; } .cs-tag { /* 14px - 24px */ font-size: clamp(0.875rem, 1.4vw, 1.5rem); font-weight: 700; line-height: 1.2em; text-align: center; color: var(--headerColor); } .cs-arrow { width: (148/16em); height: (54/16em); position: absolute; top: (242/16em); left: (255/16em); transform: rotate(30deg); } .cs-content { /* set text align to center if content needs to be centrally aligned */ text-align: left; width: 100%; max-width: (586/16rem); display: flex; flex-direction: column; /* aligns content to the left, set to center to centrally align */ align-items: flex-start; } .cs-title { max-width: 30ch; } .cs-text { margin-bottom: (16/16rem); &:last-of-type { margin-bottom: (24/16rem); } } .cs-button-solid { font-size: (16/16rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: (150/16rem); margin: 0; padding: 0 (24/16rem); background-color: var(--primary); color: var(--headerColor); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; border-radius: (4/16rem); position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-h3 { font-size: (16/16rem); font-weight: 700; line-height: 1.5em; margin: 0; color: var(--headerColor); } .cs-ul { margin: (12/16rem) 0 (32/16rem); padding: 0; display: flex; flex-direction: column; gap: (12/16rem); } .cs-li { font-size: (16/16rem); line-height: 1.5em; list-style: none; /* 20px - 24px */ padding-left: clamp(1.25rem, 3vw, 1.5rem); color: var(--bodyTextColor); position: relative; strong { color: #1a1a1a; } &::before { content: ""; width: (8/16rem); height: (8/16rem); margin-top: (8/16rem); background-color: var(--secondary); display: block; position: absolute; top: 0; left: 0; transform: rotate(45deg); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-2295 { .cs-container { max-width: (1280/16rem); } .cs-image-group { order: initial; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-2295 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image-group { font-size: ~"min(1.03vw, 1rem)"; height: auto; } .cs-picture-wrapper1 { height: auto; bottom: (121/16em); } .cs-picture-wrapper2 { height: auto; top: (104/16em); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #sbs-2295 { background-color: rgba(0, 0, 0, 0.2); .cs-title, .cs-text, .cs-h3, .cs-li, .cs-tag { color: var(--bodyTextColorWhite); } .cs-text, .cs-li { opacity: 0.8; strong { color: var(--bodyTextColorWhite); } } .cs-picture { border-color: var(--medium); } } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-2295 { padding: var(--sectionPadding); background-color: #fefcf4; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: calc(704/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 4vw, 4rem); } .cs-image-group { /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */ font-size: min(1.98vw, .826rem); /* everything inside this box is in ems so we can scale it all down proportionally with a font size */ width: calc(738/16 * 1em); height: calc(578/16 * 1em); order: -1; position: relative; z-index: 1; /* prevents flexbox from squishing it */ flex: none; } .cs-picture { width: 100%; height: 100%; border: calc(16/16 * 1em) solid var(--bodyTextColorWhite); display: block; img { width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; } } .cs-picture-wrapper1 { width: calc(412/16 * 1em); height: calc(457/16 * 1em); display: flex; flex-direction: column; gap: calc(16/16 * 1rem); position: absolute; top: 0; left: 0; } .cs-picture-wrapper2 { width: calc(413/16 * 1em); height: calc(474/16 * 1em); display: flex; flex-direction: column-reverse; gap: calc(16/16 * 1rem); position: absolute; right: 0; bottom: 0; } .cs-tag { /* 14px - 24px */ font-size: clamp(0.875rem, 1.4vw, 1.5rem); font-weight: 700; line-height: 1.2em; text-align: center; color: var(--headerColor); } .cs-arrow { width: calc(148/16 * 1em); height: calc(54/16 * 1em); position: absolute; top: calc(242/16 * 1em); left: calc(255/16 * 1em); transform: rotate(30deg); } .cs-content { /* set text align to center if content needs to be centrally aligned */ text-align: left; width: 100%; max-width: calc(586/16 * 1rem); display: flex; flex-direction: column; /* aligns content to the left, set to center to centrally align */ align-items: flex-start; } .cs-title { max-width: 30ch; } .cs-text { margin-bottom: calc(16/16 * 1rem); &:last-of-type { margin-bottom: calc(24/16 * 1rem); } } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: calc(150/16 * 1rem); margin: 0; padding: 0 calc(24/16 * 1rem); background-color: var(--primary); color: var(--headerColor); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; border-radius: calc(4/16 * 1rem); position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-h3 { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: 1.5em; margin: 0; color: var(--headerColor); } .cs-ul { margin: calc(12/16 * 1rem) 0 calc(32/16 * 1rem); padding: 0; display: flex; flex-direction: column; gap: calc(12/16 * 1rem); } .cs-li { font-size: calc(16/16 * 1rem); line-height: 1.5em; list-style: none; /* 20px - 24px */ padding-left: clamp(1.25rem, 3vw, 1.5rem); color: var(--bodyTextColor); position: relative; strong { color: #1a1a1a; } &::before { content: ""; width: calc(8/16 * 1rem); height: calc(8/16 * 1rem); margin-top: calc(8/16 * 1rem); background-color: var(--secondary); display: block; position: absolute; top: 0; left: 0; transform: rotate(45deg); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-2295 { .cs-container { max-width: calc(1280/16 * 1rem); } .cs-image-group { order: initial; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-2295 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image-group { font-size: min(1.03vw, 1rem); height: auto; } .cs-picture-wrapper1 { height: auto; bottom: calc(121/16 * 1em); } .cs-picture-wrapper2 { height: auto; top: calc(104/16 * 1em); } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-2295 { padding: var(--sectionPadding); background-color: #fefcf4; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: calc(704/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 4vw, 4rem); } .cs-image-group { /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */ font-size: min(1.98vw, .826rem); /* everything inside this box is in ems so we can scale it all down proportionally with a font size */ width: calc(738/16 * 1em); height: calc(578/16 * 1em); order: -1; position: relative; z-index: 1; /* prevents flexbox from squishing it */ flex: none; } .cs-picture { width: 100%; height: 100%; border: calc(16/16 * 1em) solid var(--bodyTextColorWhite); display: block; img { width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; } } .cs-picture-wrapper1 { width: calc(412/16 * 1em); height: calc(457/16 * 1em); display: flex; flex-direction: column; gap: calc(16/16 * 1rem); position: absolute; top: 0; left: 0; } .cs-picture-wrapper2 { width: calc(413/16 * 1em); height: calc(474/16 * 1em); display: flex; flex-direction: column-reverse; gap: calc(16/16 * 1rem); position: absolute; right: 0; bottom: 0; } .cs-tag { /* 14px - 24px */ font-size: clamp(0.875rem, 1.4vw, 1.5rem); font-weight: 700; line-height: 1.2em; text-align: center; color: var(--headerColor); } .cs-arrow { width: calc(148/16 * 1em); height: calc(54/16 * 1em); position: absolute; top: calc(242/16 * 1em); left: calc(255/16 * 1em); transform: rotate(30deg); } .cs-content { /* set text align to center if content needs to be centrally aligned */ text-align: left; width: 100%; max-width: calc(586/16 * 1rem); display: flex; flex-direction: column; /* aligns content to the left, set to center to centrally align */ align-items: flex-start; } .cs-title { max-width: 30ch; } .cs-text { margin-bottom: calc(16/16 * 1rem); &:last-of-type { margin-bottom: calc(24/16 * 1rem); } } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: calc(150/16 * 1rem); margin: 0; padding: 0 calc(24/16 * 1rem); background-color: var(--primary); color: var(--headerColor); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; border-radius: calc(4/16 * 1rem); position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-h3 { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: 1.5em; margin: 0; color: var(--headerColor); } .cs-ul { margin: calc(12/16 * 1rem) 0 calc(32/16 * 1rem); padding: 0; display: flex; flex-direction: column; gap: calc(12/16 * 1rem); } .cs-li { font-size: calc(16/16 * 1rem); line-height: 1.5em; list-style: none; /* 20px - 24px */ padding-left: clamp(1.25rem, 3vw, 1.5rem); color: var(--bodyTextColor); position: relative; strong { color: #1a1a1a; } &::before { content: ""; width: calc(8/16 * 1rem); height: calc(8/16 * 1rem); margin-top: calc(8/16 * 1rem); background-color: var(--secondary); display: block; position: absolute; top: 0; left: 0; transform: rotate(45deg); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-2295 { .cs-container { max-width: calc(1280/16 * 1rem); } .cs-image-group { order: initial; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-2295 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image-group { font-size: min(1.03vw, 1rem); height: auto; } .cs-picture-wrapper1 { height: auto; bottom: calc(121/16 * 1em); } .cs-picture-wrapper2 { height: auto; top: calc(104/16 * 1em); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #sbs-2295 { background-color: rgba(0, 0, 0, 0.2); .cs-title, .cs-text, .cs-h3, .cs-li, .cs-tag { color: var(--bodyTextColorWhite); } .cs-text, .cs-li { opacity: 0.8; strong { color: var(--bodyTextColorWhite); } } .cs-picture { border-color: var(--medium); } } } }
: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