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-1308"> <div class="cs-container"> <!-- Left Image Section --> <div class="cs-image-group"> <!--Floating Box--> <div class="cs-box"> <span class="cs-desc">Accounting & support of your business</span> </div> <!--Image--> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/tax1.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/tax1.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/tax1.jpg" alt="meeting" width="630" height="630" aria-hidden="true"> </picture> </div> <!-- Right Content Section--> <div class="cs-content"> <span class="cs-topper">About Us</span> <h2 class="cs-title">Get Help on Finance</h2> <p class="cs-text"> In the new era of technology we look in the future with certainty and pride for our company and business. consider all the drivers of change gives you the blocks & pride for our components you need to change to create a truly professional website In the new era. </p> <a class="cs-button-solid" aria-label="learn more about our programs" href="">Learn More</a> <ul class="cs-ul"> <li class="cs-item"> <span class="cs-number">150 +</span> <h3 class="cs-h3">Staff on three continents</h3> </li> <li class="cs-item"> <span class="cs-number">700 +</span> <h3 class="cs-h3">Consulting engagements</h3> </li> <li class="cs-item"> <span class="cs-number">180 +</span> <h3 class="cs-h3">Learning community members</h3> </li> </ul> </div> </div> </section>
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-1308 { padding: var(--sectionPadding); overflow: hidden; } #sbs-1308 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 36.5rem; margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: clamp(3rem, 4vw, 4rem); } #sbs-1308 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 33.875rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; position: relative; z-index: 10; } #sbs-1308 .cs-text { margin-bottom: 1rem; } #sbs-1308 .cs-text:last-of-type { margin-bottom: 2rem; } #sbs-1308 .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: #1a1a1a; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; transition: color 0.3s; } #sbs-1308 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #sbs-1308 .cs-button-solid:hover { color: #fff; } #sbs-1308 .cs-button-solid:hover:before { width: 100%; } #sbs-1308 .cs-ul { width: 100%; padding: 0; /* 32px - 48px */ margin: clamp(2rem, 5vw, 3rem) 0 0 0; /* 32px - 48px */ padding: clamp(2rem, 5vw, 3rem) 0 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; column-gap: 0.75rem; } #sbs-1308 .cs-item { list-style: none; width: 32%; /* making flex so we can align a heading with 1 line to the bottom */ display: flex; flex-direction: column; align-self: stretch; align-content: space-between; } #sbs-1308 .cs-number { font-size: 1.5625rem; line-height: 1.2em; font-weight: 700; text-align: left; color: var(--primary); display: block; margin: 0 0 0.5rem 0; } #sbs-1308 .cs-h3 { font-size: 1rem; line-height: 1.5em; font-weight: 400; text-align: left; /* auto margin top will push text to bottom if there's only one line */ margin: 0; color: var(--bodyTextColor); } #sbs-1308 .cs-image-group { width: 100%; max-width: 41.875rem; height: 100vw; max-height: 39.375rem; position: relative; display: block; z-index: 1; } #sbs-1308 .cs-picture { /* big background image */ width: 93%; height: 93%; position: absolute; top: 0; left: 0; display: block; } #sbs-1308 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } #sbs-1308 .cs-box { text-align: left; width: 70%; max-width: 19rem; /* 20px - 40px */ padding: clamp(1.25rem, 4vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: inline-flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: 0.5rem; position: absolute; right: 0; bottom: 0; z-index: 10; } #sbs-1308 .cs-desc { /* 16px - 31px */ font-size: clamp(1rem, 2.5vw, 1.9375rem); line-height: 1.2em; font-weight: 700; text-align: inherit; width: 100%; color: var(--bodyTextColorWhite); position: relative; z-index: 10; } #sbs-1308 .cs-graphic { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-1308 .cs-container { max-width: 80rem; /* set to horizontal arrangement */ flex-direction: row; justify-content: space-between; align-items: stretch; } #sbs-1308 .cs-content { width: 48%; padding: 3rem 0; align-self: center; /* prevents flexbox from squishing it */ flex: none; } #sbs-1308 .cs-image-group { width: 55%; max-width: 41.875rem; min-height: 41.875rem; max-height: 100%; height: auto; margin: 0; } #sbs-1308 .cs-picture { width: 93%; height: 94%; } #sbs-1308 .cs-box { bottom: 0rem; } #sbs-1308 .cs-graphic { max-width: 44.6875rem; left: auto; right: 8.125rem; transform: translateY(-50%); } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-1308 { padding: var(--sectionPadding); overflow: hidden; } #sbs-1308 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 36.5rem; margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: clamp(3rem, 4vw, 4rem); } #sbs-1308 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 33.875rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; position: relative; z-index: 10; } #sbs-1308 .cs-text { margin-bottom: 1rem; } #sbs-1308 .cs-text:last-of-type { margin-bottom: 2rem; } #sbs-1308 .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: #1a1a1a; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; transition: color 0.3s; } #sbs-1308 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #sbs-1308 .cs-button-solid:hover { color: #fff; } #sbs-1308 .cs-button-solid:hover:before { width: 100%; } #sbs-1308 .cs-ul { width: 100%; padding: 0; /* 32px - 48px */ margin: clamp(2rem, 5vw, 3rem) 0 0 0; /* 32px - 48px */ padding: clamp(2rem, 5vw, 3rem) 0 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; column-gap: 0.75rem; } #sbs-1308 .cs-item { list-style: none; width: 32%; /* making flex so we can align a heading with 1 line to the bottom */ display: flex; flex-direction: column; align-self: stretch; align-content: space-between; } #sbs-1308 .cs-number { font-size: 1.5625rem; line-height: 1.2em; font-weight: 700; text-align: left; color: var(--primary); display: block; margin: 0 0 0.5rem 0; } #sbs-1308 .cs-h3 { font-size: 1rem; line-height: 1.5em; font-weight: 400; text-align: left; /* auto margin top will push text to bottom if there's only one line */ margin: 0; color: var(--bodyTextColor); } #sbs-1308 .cs-image-group { width: 100%; max-width: 41.875rem; height: 100vw; max-height: 39.375rem; position: relative; display: block; z-index: 1; } #sbs-1308 .cs-picture { /* big background image */ width: 93%; height: 93%; position: absolute; top: 0; left: 0; display: block; } #sbs-1308 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } #sbs-1308 .cs-box { text-align: left; width: 70%; max-width: 19rem; /* 20px - 40px */ padding: clamp(1.25rem, 4vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: inline-flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: 0.5rem; position: absolute; right: 0; bottom: 0; z-index: 10; } #sbs-1308 .cs-desc { /* 16px - 31px */ font-size: clamp(1rem, 2.5vw, 1.9375rem); line-height: 1.2em; font-weight: 700; text-align: inherit; width: 100%; color: var(--bodyTextColorWhite); position: relative; z-index: 10; } #sbs-1308 .cs-graphic { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-1308 .cs-container { max-width: 80rem; /* set to horizontal arrangement */ flex-direction: row; justify-content: space-between; align-items: stretch; } #sbs-1308 .cs-content { width: 48%; padding: 3rem 0; align-self: center; /* prevents flexbox from squishing it */ flex: none; } #sbs-1308 .cs-image-group { width: 55%; max-width: 41.875rem; min-height: 41.875rem; max-height: 100%; height: auto; margin: 0; } #sbs-1308 .cs-picture { width: 93%; height: 94%; } #sbs-1308 .cs-box { bottom: 0rem; } #sbs-1308 .cs-graphic { max-width: 44.6875rem; left: auto; right: 8.125rem; transform: translateY(-50%); } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #sbs-1308 .cs-title, body.dark-mode #sbs-1308 .cs-text, body.dark-mode #sbs-1308 .cs-h3 { color: var(--bodyTextColorWhite); } body.dark-mode #sbs-1308 .cs-link { color: var(--secondaryLight); } body.dark-mode #sbs-1308 .cs-text, body.dark-mode #sbs-1308 .cs-h3 { opacity: 0.8; } body.dark-mode #sbs-1308 .cs-box { background-color: var(--medium); } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-1308 { padding: var(--sectionPadding); overflow: hidden; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (584/16rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: clamp(3rem, 4vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (542/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; position: relative; z-index: 10; } .cs-text { margin-bottom: (16/16rem); &:last-of-type { margin-bottom: (32/16rem); } } .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: #1a1a1a; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; transition: color 0.3s; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: #fff; &:before { width: 100%; } } } .cs-ul { width: 100%; padding: 0; /* 32px - 48px */ margin: clamp(2rem, 5vw, 3rem) 0 0 0; /* 32px - 48px */ padding: clamp(2rem, 5vw, 3rem) 0 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; column-gap: (12/16rem); } .cs-item { list-style: none; width: 32%; /* making flex so we can align a heading with 1 line to the bottom */ display: flex; flex-direction: column; align-self: stretch; align-content: space-between; } .cs-number { font-size: (25/16rem); line-height: 1.2em; font-weight: 700; text-align: left; color: var(--primary); display: block; margin: 0 0 (8/16rem) 0; } .cs-h3 { font-size: (16/16rem); line-height: 1.5em; font-weight: 400; text-align: left; /* auto margin top will push text to bottom if there's only one line */ margin: 0; color: var(--bodyTextColor); } .cs-image-group { width: 100%; max-width: (670/16rem); height: 100vw; max-height: (630/16rem); position: relative; display: block; z-index: 1; } .cs-picture { /* big background image */ width: 93%; height: 93%; position: absolute; top: 0; left: 0; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-box { text-align: left; width: 70%; max-width: (304/16rem); /* 20px - 40px */ padding: clamp(1.25rem, 4vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: inline-flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: (8/16rem); position: absolute; right: 0; bottom: 0; z-index: 10; } .cs-desc { /* 16px - 31px */ font-size: clamp(1rem, 2.5vw, 1.9375rem); line-height: 1.2em; font-weight: 700; text-align: inherit; width: 100%; color: var(--bodyTextColorWhite); position: relative; z-index: 10; } .cs-graphic { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-1308 { .cs-container { max-width: (1280/16rem); /* set to horizontal arrangement */ flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { width: 48%; padding: (48/16rem) 0; align-self: center; /* prevents flexbox from squishing it */ flex: none; } .cs-image-group { width: 55%; max-width: (670/16rem); min-height: (670/16rem); max-height: 100%; height: auto; margin: 0; } .cs-picture { width: 93%; height: 94%; } .cs-box { bottom: (0/16rem); } .cs-graphic { max-width: (715/16rem); left: auto; right: (130/16rem); transform: translateY(-50%); } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-1308 { padding: var(--sectionPadding); overflow: hidden; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (584/16rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: clamp(3rem, 4vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (542/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; position: relative; z-index: 10; } .cs-text { margin-bottom: (16/16rem); &:last-of-type { margin-bottom: (32/16rem); } } .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: #1a1a1a; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; transition: color 0.3s; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: #fff; &:before { width: 100%; } } } .cs-ul { width: 100%; padding: 0; /* 32px - 48px */ margin: clamp(2rem, 5vw, 3rem) 0 0 0; /* 32px - 48px */ padding: clamp(2rem, 5vw, 3rem) 0 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; column-gap: (12/16rem); } .cs-item { list-style: none; width: 32%; /* making flex so we can align a heading with 1 line to the bottom */ display: flex; flex-direction: column; align-self: stretch; align-content: space-between; } .cs-number { font-size: (25/16rem); line-height: 1.2em; font-weight: 700; text-align: left; color: var(--primary); display: block; margin: 0 0 (8/16rem) 0; } .cs-h3 { font-size: (16/16rem); line-height: 1.5em; font-weight: 400; text-align: left; /* auto margin top will push text to bottom if there's only one line */ margin: 0; color: var(--bodyTextColor); } .cs-image-group { width: 100%; max-width: (670/16rem); height: 100vw; max-height: (630/16rem); position: relative; display: block; z-index: 1; } .cs-picture { /* big background image */ width: 93%; height: 93%; position: absolute; top: 0; left: 0; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-box { text-align: left; width: 70%; max-width: (304/16rem); /* 20px - 40px */ padding: clamp(1.25rem, 4vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: inline-flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: (8/16rem); position: absolute; right: 0; bottom: 0; z-index: 10; } .cs-desc { /* 16px - 31px */ font-size: clamp(1rem, 2.5vw, 1.9375rem); line-height: 1.2em; font-weight: 700; text-align: inherit; width: 100%; color: var(--bodyTextColorWhite); position: relative; z-index: 10; } .cs-graphic { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-1308 { .cs-container { max-width: (1280/16rem); /* set to horizontal arrangement */ flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { width: 48%; padding: (48/16rem) 0; align-self: center; /* prevents flexbox from squishing it */ flex: none; } .cs-image-group { width: 55%; max-width: (670/16rem); min-height: (670/16rem); max-height: 100%; height: auto; margin: 0; } .cs-picture { width: 93%; height: 94%; } .cs-box { bottom: (0/16rem); } .cs-graphic { max-width: (715/16rem); left: auto; right: (130/16rem); transform: translateY(-50%); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #sbs-1308 { .cs-title, .cs-text, .cs-h3 { color: var(--bodyTextColorWhite); } .cs-link { color: var(--secondaryLight); } .cs-text, .cs-h3 { opacity: 0.8; } .cs-box { background-color: var(--medium); } } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-1308 { padding: var(--sectionPadding); overflow: hidden; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(584 / 16 * 1rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: clamp(3rem, 4vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(542 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; position: relative; z-index: 10; } .cs-text { margin-bottom: (16 / 16) * 1rem; &:last-of-type { margin-bottom: (32 / 16) * 1rem; } } .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: #1a1a1a; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; transition: color 0.3s; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: #fff; &:before { width: 100%; } } } .cs-ul { width: 100%; padding: 0; /* 32px - 48px */ margin: clamp(2rem, 5vw, 3rem) 0 0 0; /* 32px - 48px */ padding: clamp(2rem, 5vw, 3rem) 0 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; column-gap: calc(12 / 16 * 1rem); } .cs-item { list-style: none; width: 32%; /* making flex so we can align a heading with 1 line to the bottom */ display: flex; flex-direction: column; align-self: stretch; align-content: space-between; } .cs-number { font-size: calc(25 / 16 * 1rem); line-height: 1.2em; font-weight: 700; text-align: left; color: var(--primary); display: block; margin: 0 0 calc(8 / 16 * 1rem) 0; } .cs-h3 { font-size: calc(16 / 16 * 1rem); line-height: 1.5em; font-weight: 400; text-align: left; /* auto margin top will push text to bottom if there's only one line */ margin: 0; color: var(--bodyTextColor); } .cs-image-group { width: 100%; max-width: calc(670 / 16 * 1rem); height: 100vw; max-height: calc(630 / 16 * 1rem); position: relative; display: block; z-index: 1; } .cs-picture { /* big background image */ width: 93%; height: 93%; position: absolute; top: 0; left: 0; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-box { text-align: left; width: 70%; max-width: calc(304 / 16 * 1rem); /* 20px - 40px */ padding: clamp(1.25rem, 4vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: inline-flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: calc(8 / 16 * 1rem); position: absolute; right: 0; bottom: 0; z-index: 10; } .cs-desc { /* 16px - 31px */ font-size: clamp(1rem, 2.5vw, 1.9375rem); line-height: 1.2em; font-weight: 700; text-align: inherit; width: 100%; color: var(--bodyTextColorWhite); position: relative; z-index: 10; } .cs-graphic { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-1308 { .cs-container { max-width: calc(1280 / 16 * 1rem); /* set to horizontal arrangement */ flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { width: 48%; padding: calc(48 / 16 * 1rem) 0; align-self: center; /* prevents flexbox from squishing it */ flex: none; } .cs-image-group { width: 55%; max-width: calc(670 / 16 * 1rem); min-height: calc(670 / 16 * 1rem); max-height: 100%; height: auto; margin: 0; } .cs-picture { width: 93%; height: 94%; } .cs-box { bottom: 0; } .cs-graphic { max-width: calc(715 / 16 * 1rem); left: auto; right: calc(130 / 16 * 1rem); transform: translateY(-50%); } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-1308 { padding: var(--sectionPadding); overflow: hidden; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(584 / 16 * 1rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: clamp(3rem, 4vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(542 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; position: relative; z-index: 10; } .cs-text { margin-bottom: (16 / 16) * 1rem; &:last-of-type { margin-bottom: (32 / 16) * 1rem; } } .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: #1a1a1a; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; transition: color 0.3s; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: #fff; &:before { width: 100%; } } } .cs-ul { width: 100%; padding: 0; /* 32px - 48px */ margin: clamp(2rem, 5vw, 3rem) 0 0 0; /* 32px - 48px */ padding: clamp(2rem, 5vw, 3rem) 0 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; column-gap: calc(12 / 16 * 1rem); } .cs-item { list-style: none; width: 32%; /* making flex so we can align a heading with 1 line to the bottom */ display: flex; flex-direction: column; align-self: stretch; align-content: space-between; } .cs-number { font-size: calc(25 / 16 * 1rem); line-height: 1.2em; font-weight: 700; text-align: left; color: var(--primary); display: block; margin: 0 0 calc(8 / 16 * 1rem) 0; } .cs-h3 { font-size: calc(16 / 16 * 1rem); line-height: 1.5em; font-weight: 400; text-align: left; /* auto margin top will push text to bottom if there's only one line */ margin: 0; color: var(--bodyTextColor); } .cs-image-group { width: 100%; max-width: calc(670 / 16 * 1rem); height: 100vw; max-height: calc(630 / 16 * 1rem); position: relative; display: block; z-index: 1; } .cs-picture { /* big background image */ width: 93%; height: 93%; position: absolute; top: 0; left: 0; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-box { text-align: left; width: 70%; max-width: calc(304 / 16 * 1rem); /* 20px - 40px */ padding: clamp(1.25rem, 4vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: inline-flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: calc(8 / 16 * 1rem); position: absolute; right: 0; bottom: 0; z-index: 10; } .cs-desc { /* 16px - 31px */ font-size: clamp(1rem, 2.5vw, 1.9375rem); line-height: 1.2em; font-weight: 700; text-align: inherit; width: 100%; color: var(--bodyTextColorWhite); position: relative; z-index: 10; } .cs-graphic { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-1308 { .cs-container { max-width: calc(1280 / 16 * 1rem); /* set to horizontal arrangement */ flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { width: 48%; padding: calc(48 / 16 * 1rem) 0; align-self: center; /* prevents flexbox from squishing it */ flex: none; } .cs-image-group { width: 55%; max-width: calc(670 / 16 * 1rem); min-height: calc(670 / 16 * 1rem); max-height: 100%; height: auto; margin: 0; } .cs-picture { width: 93%; height: 94%; } .cs-box { bottom: 0; } .cs-graphic { max-width: calc(715 / 16 * 1rem); left: auto; right: calc(130 / 16 * 1rem); transform: translateY(-50%); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #sbs-1308 { .cs-title, .cs-text, .cs-h3 { color: var(--bodyTextColorWhite); } .cs-link { color: var(--secondaryLight); } .cs-text, .cs-h3 { opacity: 0.8; } .cs-box { background-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