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)
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
<!--Note: we used a flexbox on the image container instead of grid because this makes it more repsonsive to changes in the contact box. We set it up so if you add another .cs-link inside the contact-group div, the box grows in height to accommadate the new link and the image above it adjusts its height to be smaller proportional to how much taller the contact-group div grew from the new link. We needed it to be "flexible" so we used flexbox. --> <!-- ============================================ --> <!-- Side By Side --> <!-- ============================================ --> <section id="sbs-953"> <div class="cs-container"> <div class="cs-image-group"> <!--Left Image--> <picture class="cs-picture cs-picture1"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair5.jpg"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair5.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair5.jpg" alt="hair salon" width="349" height="590"> </picture> <div class="cs-flex"> <!--right image--> <picture class="cs-picture cs-picture2"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair6.jpg"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair6.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair6.jpg" alt="hair salon" width="281" height="387"> </picture> <div class="cs-contact-group"> <a class="cs-link" href="mailto:Info@health&wellness.com"> <picture class="cs-wrapper"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/pin-hair.svg" alt="icon" width="24" height="24"> </picture> <div class="cs-info"> <span class="cs-header">Send A Message</span> <span class="cs-link-content">Info@hairstyle.com</span> </div> </a> <a class="cs-link" href=""> <picture class="cs-wrapper"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/mail-hair.svg" alt="icon" width="24" height="24"> </picture> <div class="cs-info"> <span class="cs-header">Visit Us At</span> <span class="cs-link-content">123 Fake St, Highland, IN</span> </div> </a> </div> </div> </div> <div class="cs-content"> <span class="cs-topper">Hair Salon Services</span> <h2 class="cs-title">Life Is More Beautiful When You Meet The Right Hairdresser</h2> <p class="cs-text"> The Hair salon Stitch pack is designed specifically for a hairdressers, salons, and beauty centers, with a modern high end feel to match the expectations for design in this industry. These Stitches are great for anything and everything hair and beauty but can also be repurposed for anything high end or luxury. </p> <a href="" class="cs-button-solid" aria-label="learn more about us">Learn More</a> </div> </div> <!--Zen Leaf Group--> <img class="cs-floater" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/hair-tools.png" alt="hair tools" width="445" height="310"> </section>
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-953 { padding: var(--sectionPadding); /* clips anything overflowing */ overflow: hidden; position: relative; } #sbs-953 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #sbs-953 .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; } #sbs-953 .cs-text { margin-bottom: 1rem; } #sbs-953 .cs-text:last-of-type { margin-bottom: 2rem; } #sbs-953 .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 2rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #sbs-953 .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-953 .cs-button-solid:hover:before { width: 100%; } #sbs-953 .cs-image-group { width: 100%; max-width: 40.625rem; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } #sbs-953 .cs-picture { width: 100%; grid-column: span 12; position: relative; } #sbs-953 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #sbs-953 .cs-picture1 { height: 26.25rem; } #sbs-953 .cs-picture2 { height: 21.75rem; } #sbs-953 .cs-floater { display: none; } #sbs-953 .cs-flex { width: 100%; /* breaks up the container so the browser treats its children as if they are not inside this container. They are considered children of the .cs-image-group and makes it easier to space everything this way on mobile */ display: contents; } #sbs-953 .cs-contact-group { width: 100%; margin: 0; /* 24px - 40px */ padding: clamp(1.5rem, 3vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; grid-column: span 12; } #sbs-953 .cs-link { text-decoration: none; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid #484848; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; gap: 1rem; position: relative; z-index: 1; } #sbs-953 .cs-link:hover .cs-wrapper { transform: scale(1.2); } #sbs-953 .cs-link:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } #sbs-953 .cs-wrapper { /* 44px - 56px */ width: clamp(2.75rem, 4.3vw, 3.5rem); height: clamp(2.75rem, 4.3vw, 3.5rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; transition: transform 0.3s; } #sbs-953 .cs-wrapper:before { /* light grey circle that animates on hover */ content: ""; width: 100%; height: 100%; background: #484848; opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; transition: width 0.3s, height 0.3s; } #sbs-953 .cs-icon { width: 1.5rem; height: auto; display: block; transition: transform 0.3s; } #sbs-953 .cs-info { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; } #sbs-953 .cs-header { font-size: 1rem; line-height: 1.2em; font-weight: 700; margin: 0; color: var(--bodyTextColorWhite); display: block; } #sbs-953 .cs-link-content { font-size: 0.875rem; line-height: 1.2em; font-weight: 400; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-953 .cs-image-group { display: flex; justify-content: space-between; align-items: stretch; } #sbs-953 .cs-flex { display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #sbs-953 .cs-contact-group { /* 32px - 64px */ margin-bottom: clamp(2rem, 6vw, 4rem); /* prevents flexbox from squishing it */ flex: none; } #sbs-953 .cs-picture1 { width: 100%; height: auto; /* 32px - 64px */ margin-top: clamp(2rem, 6vw, 4rem); } #sbs-953 .cs-flex { /* 267px - 325px */ width: clamp(16.6875rem, 25vw, 20.3125rem); /* prevents flexbox from squishing it */ flex: none; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-953 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: center; } #sbs-953 .cs-image-group { width: 50%; flex: none; } } /* Large Desktop - 1800px */ @media only screen and (min-width: 112.5rem) { #sbs-953 .cs-floater { width: 27.8125rem; height: auto; display: block; position: absolute; right: 0; top: 1.25rem; } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-953 { padding: var(--sectionPadding); /* clips anything overflowing */ overflow: hidden; position: relative; } #sbs-953 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #sbs-953 .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; } #sbs-953 .cs-text { margin-bottom: 1rem; } #sbs-953 .cs-text:last-of-type { margin-bottom: 2rem; } #sbs-953 .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 2rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #sbs-953 .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-953 .cs-button-solid:hover:before { width: 100%; } #sbs-953 .cs-image-group { width: 100%; max-width: 40.625rem; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } #sbs-953 .cs-picture { width: 100%; grid-column: span 12; position: relative; } #sbs-953 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #sbs-953 .cs-picture1 { height: 26.25rem; } #sbs-953 .cs-picture2 { height: 21.75rem; } #sbs-953 .cs-floater { display: none; } #sbs-953 .cs-flex { width: 100%; /* breaks up the container so the browser treats its children as if they are not inside this container. They are considered children of the .cs-image-group and makes it easier to space everything this way on mobile */ display: contents; } #sbs-953 .cs-contact-group { width: 100%; margin: 0; /* 24px - 40px */ padding: clamp(1.5rem, 3vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; grid-column: span 12; } #sbs-953 .cs-link { text-decoration: none; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid #484848; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; gap: 1rem; position: relative; z-index: 1; } #sbs-953 .cs-link:hover .cs-wrapper { transform: scale(1.2); } #sbs-953 .cs-link:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } #sbs-953 .cs-wrapper { /* 44px - 56px */ width: clamp(2.75rem, 4.3vw, 3.5rem); height: clamp(2.75rem, 4.3vw, 3.5rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; transition: transform 0.3s; } #sbs-953 .cs-wrapper:before { /* light grey circle that animates on hover */ content: ""; width: 100%; height: 100%; background: #484848; opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; transition: width 0.3s, height 0.3s; } #sbs-953 .cs-icon { width: 1.5rem; height: auto; display: block; transition: transform 0.3s; } #sbs-953 .cs-info { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; } #sbs-953 .cs-header { font-size: 1rem; line-height: 1.2em; font-weight: 700; margin: 0; color: var(--bodyTextColorWhite); display: block; } #sbs-953 .cs-link-content { font-size: 0.875rem; line-height: 1.2em; font-weight: 400; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-953 .cs-image-group { display: flex; justify-content: space-between; align-items: stretch; } #sbs-953 .cs-flex { display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #sbs-953 .cs-contact-group { /* 32px - 64px */ margin-bottom: clamp(2rem, 6vw, 4rem); /* prevents flexbox from squishing it */ flex: none; } #sbs-953 .cs-picture1 { width: 100%; height: auto; /* 32px - 64px */ margin-top: clamp(2rem, 6vw, 4rem); } #sbs-953 .cs-flex { /* 267px - 325px */ width: clamp(16.6875rem, 25vw, 20.3125rem); /* prevents flexbox from squishing it */ flex: none; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-953 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: center; } #sbs-953 .cs-image-group { width: 50%; flex: none; } } /* Large Desktop - 1800px */ @media only screen and (min-width: 112.5rem) { #sbs-953 .cs-floater { width: 27.8125rem; height: auto; display: block; position: absolute; right: 0; top: 1.25rem; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #sbs-953 .cs-title, body.dark-mode #sbs-953 .cs-text { color: var(--bodyTextColorWhite); transition: color 0.3s; } body.dark-mode #sbs-953 .cs-text { opacity: 0.8; } body.dark-mode #sbs-953 .cs-contact-group { background-color: var(--medium); } body.dark-mode #sbs-953 .cs-wrapper:before { background-color: var(--primary); } body.dark-mode #sbs-953 .cs-icon { /* makes icons that are not black turn white */ filter: grayscale(1) brightness(1000%); } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-953 { padding: var(--sectionPadding); /* clips anything overflowing */ overflow: hidden; position: relative; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 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; } .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: #fff; min-width: (150/16rem); padding: 0 (32/16rem); background-color: var(--primary); 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; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image-group { width: 100%; max-width: (650/16rem); display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-picture { width: 100%; grid-column: span 12; position: relative; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-picture1 { height: (420/16rem); } .cs-picture2 { height: (348/16rem); } .cs-floater { display: none; } .cs-flex { width: 100%; /* breaks up the container so the browser treats its children as if they are not inside this container. They are considered children of the .cs-image-group and makes it easier to space everything this way on mobile */ display: contents; } .cs-contact-group { width: 100%; margin: 0; /* 24px - 40px */ padding: clamp(1.5rem, 3vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; grid-column: span 12; } .cs-link { text-decoration: none; margin-bottom: (20/16rem); padding-bottom: (20/16rem); border-bottom: 1px solid #484848; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; gap: (16/16rem); position: relative; z-index: 1; &:hover { .cs-wrapper { transform: scale(1.2); } } &:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } } .cs-wrapper { /* 44px - 56px */ width: clamp(2.75rem, 4.3vw, 3.5rem); height: clamp(2.75rem, 4.3vw, 3.5rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; transition: transform 0.3s; &:before { /* light grey circle that animates on hover */ content: ""; width: 100%; height: 100%; background: #484848; opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; transition: width 0.3s, height 0.3s; } } .cs-icon { width: (24/16rem); height: auto; display: block; transition: transform 0.3s; } .cs-info { display: flex; flex-direction: column; align-items: flex-start; gap: (4/16rem); } .cs-header { font-size: (16/16rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--bodyTextColorWhite); display: block; } .cs-link-content { font-size: (14/16rem); line-height: 1.2em; font-weight: 400; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-953 { .cs-image-group { display: flex; justify-content: space-between; align-items: stretch; } .cs-flex { display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-contact-group { /* 32px - 64px */ margin-bottom: clamp(2rem, 6vw, 4rem); /* prevents flexbox from squishing it */ flex: none; } .cs-picture1 { width: 100%; height: auto; /* 32px - 64px */ margin-top: clamp(2rem, 6vw, 4rem); } .cs-flex { /* 267px - 325px */ width: clamp(16.6875rem, 25vw, 20.3125rem); /* prevents flexbox from squishing it */ flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-953 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-image-group { width: 50%; flex: none; } } } /* Large Desktop - 1800px */ @media only screen and (min-width: 112.5rem) { #sbs-953 { .cs-floater { width: (445/16rem); height: auto; display: block; position: absolute; right: 0; top: (20/16rem); } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-953 { padding: var(--sectionPadding); /* clips anything overflowing */ overflow: hidden; position: relative; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 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; } .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: #fff; min-width: (150/16rem); padding: 0 (32/16rem); background-color: var(--primary); 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; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image-group { width: 100%; max-width: (650/16rem); display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-picture { width: 100%; grid-column: span 12; position: relative; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-picture1 { height: (420/16rem); } .cs-picture2 { height: (348/16rem); } .cs-floater { display: none; } .cs-flex { width: 100%; /* breaks up the container so the browser treats its children as if they are not inside this container. They are considered children of the .cs-image-group and makes it easier to space everything this way on mobile */ display: contents; } .cs-contact-group { width: 100%; margin: 0; /* 24px - 40px */ padding: clamp(1.5rem, 3vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; grid-column: span 12; } .cs-link { text-decoration: none; margin-bottom: (20/16rem); padding-bottom: (20/16rem); border-bottom: 1px solid #484848; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; gap: (16/16rem); position: relative; z-index: 1; &:hover { .cs-wrapper { transform: scale(1.2); } } &:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } } .cs-wrapper { /* 44px - 56px */ width: clamp(2.75rem, 4.3vw, 3.5rem); height: clamp(2.75rem, 4.3vw, 3.5rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; transition: transform 0.3s; &:before { /* light grey circle that animates on hover */ content: ""; width: 100%; height: 100%; background: #484848; opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; transition: width 0.3s, height 0.3s; } } .cs-icon { width: (24/16rem); height: auto; display: block; transition: transform 0.3s; } .cs-info { display: flex; flex-direction: column; align-items: flex-start; gap: (4/16rem); } .cs-header { font-size: (16/16rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--bodyTextColorWhite); display: block; } .cs-link-content { font-size: (14/16rem); line-height: 1.2em; font-weight: 400; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-953 { .cs-image-group { display: flex; justify-content: space-between; align-items: stretch; } .cs-flex { display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-contact-group { /* 32px - 64px */ margin-bottom: clamp(2rem, 6vw, 4rem); /* prevents flexbox from squishing it */ flex: none; } .cs-picture1 { width: 100%; height: auto; /* 32px - 64px */ margin-top: clamp(2rem, 6vw, 4rem); } .cs-flex { /* 267px - 325px */ width: clamp(16.6875rem, 25vw, 20.3125rem); /* prevents flexbox from squishing it */ flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-953 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-image-group { width: 50%; flex: none; } } } /* Large Desktop - 1800px */ @media only screen and (min-width: 112.5rem) { #sbs-953 { .cs-floater { width: (445/16rem); height: auto; display: block; position: absolute; right: 0; top: (20/16rem); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #sbs-953 { .cs-title, .cs-text { color: var(--bodyTextColorWhite); transition: color 0.3s; } .cs-text { opacity: 0.8; } .cs-contact-group { background-color: var(--medium); } .cs-wrapper { &:before { background-color: var(--primary); } } .cs-icon { /* makes icons that are not black turn white */ filter: grayscale(1) brightness(1000%); } } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-953 { padding: var(--sectionPadding); /* clips anything overflowing */ overflow: hidden; position: relative; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 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; } .cs-text { margin-bottom: calc(16 / 16 * 1rem); &:last-of-type { margin-bottom: calc(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: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(32 / 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; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image-group { width: 100%; max-width: calc(650 / 16 * 1rem); display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-picture { width: 100%; grid-column: span 12; position: relative; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-picture1 { height: calc(420 / 16 * 1rem); } .cs-picture2 { height: calc(348 / 16 * 1rem); } .cs-floater { display: none; } .cs-flex { width: 100%; /* breaks up the container so the browser treats its children as if they are not inside this container. They are considered children of the .cs-image-group and makes it easier to space everything this way on mobile */ display: contents; } .cs-contact-group { width: 100%; margin: 0; /* 24px - 40px */ padding: clamp(1.5rem, 3vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; grid-column: span 12; } .cs-link { text-decoration: none; margin-bottom: calc(20 / 16 * 1rem); padding-bottom: calc(20 / 16 * 1rem); border-bottom: 1px solid #484848; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; gap: calc(16 / 16 * 1rem); position: relative; z-index: 1; &:hover { .cs-wrapper { transform: scale(1.2); } } &:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } } .cs-wrapper { /* 44px - 56px */ width: clamp(2.75rem, 4.3vw, 3.5rem); height: clamp(2.75rem, 4.3vw, 3.5rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; transition: transform 0.3s; &:before { /* light grey circle that animates on hover */ content: ""; width: 100%; height: 100%; background: #484848; opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; transition: width 0.3s, height 0.3s; } } .cs-icon { width: calc(24 / 16 * 1rem); height: auto; display: block; transition: transform 0.3s; } .cs-info { display: flex; flex-direction: column; align-items: flex-start; gap: calc(4 / 16 * 1rem); } .cs-header { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--bodyTextColorWhite); display: block; } .cs-link-content { font-size: calc(14 / 16 * 1rem); line-height: 1.2em; font-weight: 400; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-953 { .cs-image-group { display: flex; justify-content: space-between; align-items: stretch; } .cs-flex { display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-contact-group { /* 32px - 64px */ margin-bottom: clamp(2rem, 6vw, 4rem); /* prevents flexbox from squishing it */ flex: none; } .cs-picture1 { width: 100%; height: auto; /* 32px - 64px */ margin-top: clamp(2rem, 6vw, 4rem); } .cs-flex { /* 267px - 325px */ width: clamp(16.6875rem, 25vw, 20.3125rem); /* prevents flexbox from squishing it */ flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-953 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-image-group { width: 50%; flex: none; } } } /* Large Desktop - 1800px */ @media only screen and (min-width: 112.5rem) { #sbs-953 { .cs-floater { width: calc(445 / 16 * 1rem); height: auto; display: block; position: absolute; right: 0; top: calc(20 / 16 * 1rem); } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #sbs-953 { padding: var(--sectionPadding); /* clips anything overflowing */ overflow: hidden; position: relative; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 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; } .cs-text { margin-bottom: calc(16 / 16 * 1rem); &:last-of-type { margin-bottom: calc(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: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(32 / 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; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image-group { width: 100%; max-width: calc(650 / 16 * 1rem); display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-picture { width: 100%; grid-column: span 12; position: relative; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-picture1 { height: calc(420 / 16 * 1rem); } .cs-picture2 { height: calc(348 / 16 * 1rem); } .cs-floater { display: none; } .cs-flex { width: 100%; /* breaks up the container so the browser treats its children as if they are not inside this container. They are considered children of the .cs-image-group and makes it easier to space everything this way on mobile */ display: contents; } .cs-contact-group { width: 100%; margin: 0; /* 24px - 40px */ padding: clamp(1.5rem, 3vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #1a1a1a; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; grid-column: span 12; } .cs-link { text-decoration: none; margin-bottom: calc(20 / 16 * 1rem); padding-bottom: calc(20 / 16 * 1rem); border-bottom: 1px solid #484848; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; gap: calc(16 / 16 * 1rem); position: relative; z-index: 1; &:hover { .cs-wrapper { transform: scale(1.2); } } &:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } } .cs-wrapper { /* 44px - 56px */ width: clamp(2.75rem, 4.3vw, 3.5rem); height: clamp(2.75rem, 4.3vw, 3.5rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; transition: transform 0.3s; &:before { /* light grey circle that animates on hover */ content: ""; width: 100%; height: 100%; background: #484848; opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; transition: width 0.3s, height 0.3s; } } .cs-icon { width: calc(24 / 16 * 1rem); height: auto; display: block; transition: transform 0.3s; } .cs-info { display: flex; flex-direction: column; align-items: flex-start; gap: calc(4 / 16 * 1rem); } .cs-header { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--bodyTextColorWhite); display: block; } .cs-link-content { font-size: calc(14 / 16 * 1rem); line-height: 1.2em; font-weight: 400; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #sbs-953 { .cs-image-group { display: flex; justify-content: space-between; align-items: stretch; } .cs-flex { display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-contact-group { /* 32px - 64px */ margin-bottom: clamp(2rem, 6vw, 4rem); /* prevents flexbox from squishing it */ flex: none; } .cs-picture1 { width: 100%; height: auto; /* 32px - 64px */ margin-top: clamp(2rem, 6vw, 4rem); } .cs-flex { /* 267px - 325px */ width: clamp(16.6875rem, 25vw, 20.3125rem); /* prevents flexbox from squishing it */ flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #sbs-953 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-image-group { width: 50%; flex: none; } } } /* Large Desktop - 1800px */ @media only screen and (min-width: 112.5rem) { #sbs-953 { .cs-floater { width: calc(445 / 16 * 1rem); height: auto; display: block; position: absolute; right: 0; top: calc(20 / 16 * 1rem); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #sbs-953 { .cs-title, .cs-text { color: var(--bodyTextColorWhite); transition: color 0.3s; } .cs-text { opacity: 0.8; } .cs-contact-group { background-color: var(--medium); } .cs-wrapper { &:before { background-color: var(--primary); } } .cs-icon { /* makes icons that are not black turn white */ filter: grayscale(1) brightness(1000%); } } } }
: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