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)
Combo
(0)
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)
Side By Side
HTML
CSS
JS
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
<!-- ============================================ --> <!-- FAQ --> <!-- ============================================ --> <section id="faq-350"> <div class="cs-container"> <div class="cs-left"> <!--Big Image--> <picture class="cs-picture cs-picture1" aria-hidden="true"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaner3-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaner3.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaner3.jpg" alt="cleaning supplies" width="672" height="672"> </picture> <!--Medium Image--> <picture class="cs-picture cs-picture2" aria-hidden="true"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaning2-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaning2.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaning2.jpg" alt="cleaning supplies" width="300" height="300"> </picture> <!--Small Image--> <picture class="cs-picture cs-picture3" aria-hidden="true"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaning1-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaning1.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/cleaning1.jpg" alt="cleaner" width="200" height="200"> </picture> </div> <div class="cs-content"> <span class="cs-topper">Asked questions</span> <h2 class="cs-title">Frequently Asked Questions</h2> <ul class="cs-faq-group"> <!-- Active class added as default --> <li class="cs-faq-item active"> <button class="cs-button"> <span class="cs-button-text"> How much are house cleaning services? </span> </button> <p class="cs-item-p"> Some cleaning plans require a minimum commitment term. Cancelling your plan before the minimum term is complete will result in a $99 fee. If you want to learn more information about how to cancel, please inbox us. </p> </li> <li class="cs-faq-item"> <button class="cs-button"> <span class="cs-button-text"> What is your plan cancellation policy? </span> </button> <p class="cs-item-p"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sit convallis nunc neque, bibendum pulvinar vitae commodo velit. Proin diam tortor sed malesuada nunc, habitant. Dignissim ipsum porta enim, magna urna, quam. </p> </li> <li class="cs-faq-item"> <button class="cs-button"> <span class="cs-button-text"> How long should a house cleaning take? </span> </button> <p class="cs-item-p"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sit convallis nunc neque, bibendum pulvinar vitae commodo velit. Proin diam tortor sed malesuada nunc, habitant. Dignissim ipsum porta enim, magna urna, quam. </p> </li> <li class="cs-faq-item"> <button class="cs-button"> <span class="cs-button-text"> How much are house cleaning services? </span> </button> <p class="cs-item-p"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sit convallis nunc neque, bibendum pulvinar vitae commodo velit. Proin diam tortor sed malesuada nunc, habitant. Dignissim ipsum porta enim, magna urna, quam. </p> </li> <li class="cs-faq-item"> <button class="cs-button"> <span class="cs-button-text"> Can cleanings be scheduled? </span> </button> <p class="cs-item-p"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sit convallis nunc neque, bibendum pulvinar vitae commodo velit. Proin diam tortor sed malesuada nunc, habitant. Dignissim ipsum porta enim, magna urna, quam. </p> </li> </ul> </div> </div> </section>
/*-- -------------------------- --> <--- FAQ --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #faq-350 { padding: var(--sectionPadding); background: #f7f7f7; } #faq-350 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; /* 40px - 48px */ gap: clamp(2.5rem, 5vw, 3rem); } #faq-350 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 32.625rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #faq-350 .cs-title { margin: 0 0 2rem 0; } #faq-350 .cs-faq-group { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } #faq-350 .cs-faq-item { list-style: none; width: 100%; border-bottom: 1px solid #e8e8e8; transition: border-bottom 0.3s; } #faq-350 .cs-faq-item.active { border-color: var(--primaryLight); } #faq-350 .cs-faq-item.active .cs-button:before { background-color: var(--primaryLight); transform: rotate(315deg); } #faq-350 .cs-faq-item.active .cs-button:after { background-color: var(--primaryLight); transform: rotate(-315deg); } #faq-350 .cs-faq-item.active .cs-item-p { height: auto; /* 20px - 24px bottom */ /* 16px - 24px left & right */ padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem); opacity: 1; } #faq-350 .cs-button { font-size: 1rem; line-height: 1.2em; text-align: left; font-weight: bold; /* 16px - 20px */ padding: clamp(1rem, 1.3vw, 1.25rem); border: none; background: transparent; color: var(--headerColor); display: block; width: 100%; position: relative; transition: background-color 0.3s, color 0.3s; } #faq-350 .cs-button:hover { cursor: pointer; } #faq-350 .cs-button:before { /* left line */ content: ""; width: 0.5rem; height: 0.125rem; background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: 1.5rem; transform: rotate(45deg); /* animate the transform from the left side of the x axis, and the center of the y */ transform-origin: left center; transition: transform 0.5s; } #faq-350 .cs-button:after { /* right line */ content: ""; width: 0.5rem; height: 0.125rem; background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: 1.3125rem; transform: rotate(-45deg); /* animate the transform from the right side of the x axis, and the center of the y */ transform-origin: right center; transition: transform 0.5s; } #faq-350 .cs-button-text { width: 80%; display: block; } #faq-350 .cs-item-p { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; width: 90%; height: 0; margin: 0; /* 16px - 24px */ padding: 0 clamp(1rem, 2vw, 1.5rem); opacity: 0; color: var(--bodyTextColor); /* clips the text so it doesn't show up */ overflow: hidden; transition: opacity 0.3s, padding-bottom 0.3s; } #faq-350 .cs-left { /* scaling entire section down. font-size starts at a min in vw, and stops when that value reaches 1em (16px). Since we want the picture elements to base their font size on the parent and not the root, we use ems for this entire section */ font-size: min(2.08vw, 0.791em); width: 42.875em; height: 42em; position: relative; /* flips it horizontally */ transform: scaleX(-1); } @keyframes floatAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-2em); } 100% { transform: translateY(0); } } @keyframes floatAnimation2 { 0% { transform: translateY(0); } 50% { transform: translateY(-1em); } 100% { transform: translateY(0); } } #faq-350 .cs-left:before { /* blue circle */ content: ""; width: 7.5em; height: 7.5em; border-radius: 50%; background: var(--secondary); opacity: 1; position: absolute; display: block; bottom: 6.25em; left: 0em; z-index: 10; animation-name: floatAnimation; animation-duration: 6s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } #faq-350 .cs-picture { border-radius: 50%; border: clamp(6px, 1.2vw, 12px) solid #ffffff; /* clips the img tag corners */ overflow: hidden; position: absolute; display: block; } #faq-350 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } #faq-350 .cs-picture1 { width: 42em; height: 42em; top: -0.75em; left: -0.75em; } #faq-350 .cs-picture2 { width: 12.5em; height: 12.5em; top: -0.75em; left: -0.75em; animation-name: floatAnimation2; animation-duration: 20s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } #faq-350 .cs-picture3 { width: 18.75em; height: 18.75em; bottom: -0.75em; right: -0.75em; animation-name: floatAnimation; animation-duration: 13s; animation-delay: 1s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #faq-350 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 3.25rem; } #faq-350 .cs-left { /* reset the scale */ font-size: min(1vw, 1em); /* prevents flexbox from squishing it */ flex: none; /* sends it to the right in the 2nd position */ order: 2; } #faq-350 .cs-title, #faq-350 .cs-topper { text-align: left; width: 80%; margin-left: 0; } }
/*-- -------------------------- --> <--- FAQ --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #faq-350 { padding: var(--sectionPadding); background: #f7f7f7; } #faq-350 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; /* 40px - 48px */ gap: clamp(2.5rem, 5vw, 3rem); } #faq-350 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 32.625rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #faq-350 .cs-title { margin: 0 0 2rem 0; } #faq-350 .cs-faq-group { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } #faq-350 .cs-faq-item { list-style: none; width: 100%; border-bottom: 1px solid #e8e8e8; transition: border-bottom 0.3s; } #faq-350 .cs-faq-item.active { border-color: var(--primaryLight); } #faq-350 .cs-faq-item.active .cs-button:before { background-color: var(--primaryLight); transform: rotate(315deg); } #faq-350 .cs-faq-item.active .cs-button:after { background-color: var(--primaryLight); transform: rotate(-315deg); } #faq-350 .cs-faq-item.active .cs-item-p { height: auto; /* 20px - 24px bottom */ /* 16px - 24px left & right */ padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem); opacity: 1; } #faq-350 .cs-button { font-size: 1rem; line-height: 1.2em; text-align: left; font-weight: bold; /* 16px - 20px */ padding: clamp(1rem, 1.3vw, 1.25rem); border: none; background: transparent; color: var(--headerColor); display: block; width: 100%; position: relative; transition: background-color 0.3s, color 0.3s; } #faq-350 .cs-button:hover { cursor: pointer; } #faq-350 .cs-button:before { /* left line */ content: ""; width: 0.5rem; height: 0.125rem; background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: 1.5rem; transform: rotate(45deg); /* animate the transform from the left side of the x axis, and the center of the y */ transform-origin: left center; transition: transform 0.5s; } #faq-350 .cs-button:after { /* right line */ content: ""; width: 0.5rem; height: 0.125rem; background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: 1.3125rem; transform: rotate(-45deg); /* animate the transform from the right side of the x axis, and the center of the y */ transform-origin: right center; transition: transform 0.5s; } #faq-350 .cs-button-text { width: 80%; display: block; } #faq-350 .cs-item-p { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; width: 90%; height: 0; margin: 0; /* 16px - 24px */ padding: 0 clamp(1rem, 2vw, 1.5rem); opacity: 0; color: var(--bodyTextColor); /* clips the text so it doesn't show up */ overflow: hidden; transition: opacity 0.3s, padding-bottom 0.3s; } #faq-350 .cs-left { /* scaling entire section down. font-size starts at a min in vw, and stops when that value reaches 1em (16px). Since we want the picture elements to base their font size on the parent and not the root, we use ems for this entire section */ font-size: min(2.08vw, 0.791em); width: 42.875em; height: 42em; position: relative; /* flips it horizontally */ transform: scaleX(-1); } @keyframes floatAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-2em); } 100% { transform: translateY(0); } } @keyframes floatAnimation2 { 0% { transform: translateY(0); } 50% { transform: translateY(-1em); } 100% { transform: translateY(0); } } #faq-350 .cs-left:before { /* blue circle */ content: ""; width: 7.5em; height: 7.5em; border-radius: 50%; background: var(--secondary); opacity: 1; position: absolute; display: block; bottom: 6.25em; left: 0em; z-index: 10; animation-name: floatAnimation; animation-duration: 6s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } #faq-350 .cs-picture { border-radius: 50%; border: clamp(6px, 1.2vw, 12px) solid #ffffff; /* clips the img tag corners */ overflow: hidden; position: absolute; display: block; } #faq-350 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } #faq-350 .cs-picture1 { width: 42em; height: 42em; top: -0.75em; left: -0.75em; } #faq-350 .cs-picture2 { width: 12.5em; height: 12.5em; top: -0.75em; left: -0.75em; animation-name: floatAnimation2; animation-duration: 20s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } #faq-350 .cs-picture3 { width: 18.75em; height: 18.75em; bottom: -0.75em; right: -0.75em; animation-name: floatAnimation; animation-duration: 13s; animation-delay: 1s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #faq-350 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 3.25rem; } #faq-350 .cs-left { /* reset the scale */ font-size: min(1vw, 1em); /* prevents flexbox from squishing it */ flex: none; /* sends it to the right in the 2nd position */ order: 2; } #faq-350 .cs-title, #faq-350 .cs-topper { text-align: left; width: 80%; margin-left: 0; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #faq-350 { background-color: var(--medium); } body.dark-mode #faq-350 .cs-picture { border-color: var(--accent); } body.dark-mode #faq-350 .cs-topper { color: var(--primaryLight); } body.dark-mode #faq-350 .cs-title, body.dark-mode #faq-350 .cs-item-p { color: var(--bodyTextColorWhite); } body.dark-mode #faq-350 .cs-faq-item { border-color: rgba(255, 255, 255, 0.2); } body.dark-mode #faq-350 .cs-faq-item.active { border-color: var(--primaryLight); } body.dark-mode #faq-350 .cs-faq-item.active .cs-button { color: var(--primaryLight); } body.dark-mode #faq-350 .cs-faq-item.active .cs-button:before, body.dark-mode #faq-350 .cs-faq-item.active .cs-button:after { background-color: var(--primaryLight); } body.dark-mode #faq-350 .cs-button { color: var(--bodyTextColorWhite); } body.dark-mode #faq-350 .cs-button:before, body.dark-mode #faq-350 .cs-button:after { background-color: var(--bodyTextColorWhite); } }
/*-- -------------------------- --> <--- FAQ --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #faq-350 { padding: var(--sectionPadding); background: #f7f7f7; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; /* 40px - 48px */ gap: clamp(2.5rem, 5vw, 3rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (522/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-title { margin: 0 0 (32/16rem) 0; } .cs-faq-group { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-faq-item { list-style: none; width: 100%; border-bottom: 1px solid #e8e8e8; transition: border-bottom 0.3s; &.active { border-color: var(--primaryLight); .cs-button { &:before { background-color: var(--primaryLight); transform: rotate(315deg); } &:after { background-color: var(--primaryLight); transform: rotate(-315deg); } } .cs-item-p { height: auto; /* 20px - 24px bottom */ /* 16px - 24px left & right */ padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem); opacity: 1; } } } .cs-button { font-size: (16/16rem); line-height: 1.2em; text-align: left; font-weight: bold; /* 16px - 20px */ padding: clamp(1rem, 1.3vw, 1.25rem); border: none; background: transparent; color: var(--headerColor); display: block; width: 100%; position: relative; transition: background-color 0.3s, color 0.3s; &:hover { cursor: pointer; } &:before { /* left line */ content: ""; width: (8/16rem); height: (2/16rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: (24/16rem); transform: rotate(45deg); /* animate the transform from the left side of the x axis, and the center of the y */ transform-origin: left center; transition: transform 0.5s; } &:after { /* right line */ content: ""; width: (8/16rem); height: (2/16rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: (21/16rem); transform: rotate(-45deg); /* animate the transform from the right side of the x axis, and the center of the y */ transform-origin: right center; transition: transform 0.5s; } } .cs-button-text { width: 80%; display: block; } .cs-item-p { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; width: 90%; height: 0; margin: 0; /* 16px - 24px */ padding: 0 clamp(1rem, 2vw, 1.5rem); opacity: 0; color: var(--bodyTextColor); /* clips the text so it doesn't show up */ overflow: hidden; transition: opacity 0.3s, padding-bottom 0.3s; } .cs-left { /* scaling entire section down. font-size starts at a min in vw, and stops when that value reaches 1em (16px). Since we want the picture elements to base their font size on the parent and not the root, we use ems for this entire section */ font-size: ~"min(2.08vw, .791em)"; width: (686/16em); height: (672/16em); position: relative; /* flips it horizontally */ transform: scaleX(-1); @keyframes floatAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-2em); } 100% { transform: translateY(0); } } @keyframes floatAnimation2 { 0% { transform: translateY(0); } 50% { transform: translateY(-1em); } 100% { transform: translateY(0); } } &:before { /* blue circle */ content: ""; width: (120/16em); height: (120/16em); border-radius: 50%; background: var(--secondary); opacity: 1; position: absolute; display: block; bottom: (100/16em); left: (0/16em); z-index: 10; animation-name: floatAnimation; animation-duration: 6s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } .cs-picture { border-radius: 50%; border: clamp(6px, 1.2vw, 12px) solid #fff; /* clips the img tag corners */ overflow: hidden; position: absolute; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-picture1 { width: (672/16em); height: (672/16em); top: (-12/16em); left: (-12/16em); } .cs-picture2 { width: (200/16em); height: (200/16em); top: (-12/16em); left: (-12/16em); animation-name: floatAnimation2; animation-duration: 20s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } .cs-picture3 { width: (300/16em); height: (300/16em); bottom: (-12/16em); right: (-12/16em); animation-name: floatAnimation; animation-duration: 13s; animation-delay: 1s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #faq-350 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: flex-start; gap: (52/16rem); } .cs-left { /* reset the scale */ font-size: ~"min(1vw, 1em)"; /* prevents flexbox from squishing it */ flex: none; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-topper { text-align: left; width: 80%; margin-left: 0; } } }
/*-- -------------------------- --> <--- FAQ --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #faq-350 { padding: var(--sectionPadding); background: #f7f7f7; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; /* 40px - 48px */ gap: clamp(2.5rem, 5vw, 3rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (522/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-title { margin: 0 0 (32/16rem) 0; } .cs-faq-group { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-faq-item { list-style: none; width: 100%; border-bottom: 1px solid #e8e8e8; transition: border-bottom 0.3s; &.active { border-color: var(--primaryLight); .cs-button { &:before { background-color: var(--primaryLight); transform: rotate(315deg); } &:after { background-color: var(--primaryLight); transform: rotate(-315deg); } } .cs-item-p { height: auto; /* 20px - 24px bottom */ /* 16px - 24px left & right */ padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem); opacity: 1; } } } .cs-button { font-size: (16/16rem); line-height: 1.2em; text-align: left; font-weight: bold; /* 16px - 20px */ padding: clamp(1rem, 1.3vw, 1.25rem); border: none; background: transparent; color: var(--headerColor); display: block; width: 100%; position: relative; transition: background-color 0.3s, color 0.3s; &:hover { cursor: pointer; } &:before { /* left line */ content: ""; width: (8/16rem); height: (2/16rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: (24/16rem); transform: rotate(45deg); /* animate the transform from the left side of the x axis, and the center of the y */ transform-origin: left center; transition: transform 0.5s; } &:after { /* right line */ content: ""; width: (8/16rem); height: (2/16rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: (21/16rem); transform: rotate(-45deg); /* animate the transform from the right side of the x axis, and the center of the y */ transform-origin: right center; transition: transform 0.5s; } } .cs-button-text { width: 80%; display: block; } .cs-item-p { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; width: 90%; height: 0; margin: 0; /* 16px - 24px */ padding: 0 clamp(1rem, 2vw, 1.5rem); opacity: 0; color: var(--bodyTextColor); /* clips the text so it doesn't show up */ overflow: hidden; transition: opacity 0.3s, padding-bottom 0.3s; } .cs-left { /* scaling entire section down. font-size starts at a min in vw, and stops when that value reaches 1em (16px). Since we want the picture elements to base their font size on the parent and not the root, we use ems for this entire section */ font-size: ~"min(2.08vw, .791em)"; width: (686/16em); height: (672/16em); position: relative; /* flips it horizontally */ transform: scaleX(-1); @keyframes floatAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-2em); } 100% { transform: translateY(0); } } @keyframes floatAnimation2 { 0% { transform: translateY(0); } 50% { transform: translateY(-1em); } 100% { transform: translateY(0); } } &:before { /* blue circle */ content: ""; width: (120/16em); height: (120/16em); border-radius: 50%; background: var(--secondary); opacity: 1; position: absolute; display: block; bottom: (100/16em); left: (0/16em); z-index: 10; animation-name: floatAnimation; animation-duration: 6s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } .cs-picture { border-radius: 50%; border: clamp(6px, 1.2vw, 12px) solid #fff; /* clips the img tag corners */ overflow: hidden; position: absolute; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-picture1 { width: (672/16em); height: (672/16em); top: (-12/16em); left: (-12/16em); } .cs-picture2 { width: (200/16em); height: (200/16em); top: (-12/16em); left: (-12/16em); animation-name: floatAnimation2; animation-duration: 20s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } .cs-picture3 { width: (300/16em); height: (300/16em); bottom: (-12/16em); right: (-12/16em); animation-name: floatAnimation; animation-duration: 13s; animation-delay: 1s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #faq-350 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: flex-start; gap: (52/16rem); } .cs-left { /* reset the scale */ font-size: ~"min(1vw, 1em)"; /* prevents flexbox from squishing it */ flex: none; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-topper { text-align: left; width: 80%; margin-left: 0; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #faq-350 { background-color: var(--medium); .cs-picture { border-color: var(--accent); } .cs-topper { color: var(--primaryLight); } .cs-title, .cs-item-p { color: var(--bodyTextColorWhite); } .cs-faq-item { border-color: rgba(255, 255, 255, 0.2); &.active { border-color: var(--primaryLight); .cs-button { color: var(--primaryLight); &:before, &:after { background-color: var(--primaryLight); } } } } .cs-button { color: var(--bodyTextColorWhite); &:before, &:after { background-color: var(--bodyTextColorWhite); } } } } }
/*-- -------------------------- --> <--- FAQ --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #faq-350-350 { padding: var(--sectionPadding); background: #f7f7f7; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; /* 40px - 48px */ gap: clamp(2.5rem, 5vw, 3rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(550 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-title { margin: 0 0 calc(32 / 16 * 1rem) 0; } .cs-topper { padding-left: clamp(1rem, 1.3vw, 1.25rem); } .cs-faq-group { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-faq-item { list-style: none; width: 100%; border-bottom: 1px solid #e8e8e8; transition: border-bottom 0.3s; &.active { border-color: var(--primaryLight); .cs-button { &:before { background-color: var(--primaryLight); transform: rotate(315deg); } &:after { background-color: var(--primaryLight); transform: rotate(-315deg); } } .cs-item-p { height: auto; /* 20px - 24px bottom */ /* 16px - 24px left & right */ padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem); opacity: 1; } } } .cs-button { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; text-align: left; font-weight: bold; /* 16px - 20px */ padding: clamp(1rem, 1.3vw, 1.25rem); border: none; background: transparent; color: var(--headerColor); display: block; width: 100%; position: relative; transition: background-color 0.3s, color 0.3s; &:hover { cursor: pointer; } &:before { /* left line */ content: ""; width: calc(8 / 16 * 1rem); height: calc(2 / 16 * 1rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: calc(24 / 16 * 1rem); transform: rotate(45deg); /* animate the transform from the left side of the x axis, and the center of the y */ transform-origin: left center; transition: transform 0.5s; } &:after { /* right line */ content: ""; width: calc(8 / 16 * 1rem); height: calc(2 / 16 * 1rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: calc(21 / 16 * 1rem); transform: rotate(-45deg); /* animate the transform from the right side of the x axis, and the center of the y */ transform-origin: right center; transition: transform 0.5s; } } .cs-button-text { width: 80%; display: block; } .cs-item-p { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; width: 90%; height: 0; margin: 0; /* 16px - 24px */ padding: 0 clamp(1rem, 2vw, 1.5rem); opacity: 0; color: var(--bodyTextColor); /* clips the text so it doesn't show up */ overflow: hidden; transition: opacity 0.3s, padding-bottom 0.3s; } .cs-left { /* scaling entire section down. font-size starts at a min in vw, and stops and not the root, we use ems for this entire section */ font-size: min(2.08vw, 0.7em); width: calc(686 / 16 * 1em); height: calc(672 / 16 * 1em); position: relative; /* flips it horizontally */ transform: scaleX(-1); @keyframes floatAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-2em); } 100% { transform: translateY(0); } } @keyframes floatAnimation2 { 0% { transform: translateY(0); } 50% { transform: translateY(-1em); } 100% { transform: translateY(0); } } &:before { /* blue circle */ content: ""; width: calc(120 / 16 * 1em); height: calc(120 / 16 * 1em); border-radius: 50%; background: var(--secondary); opacity: 1; position: absolute; display: block; bottom: calc(100 / 16 * 1em); left: calc(0 / 16 * 1em); z-index: 10; animation-name: floatAnimation; animation-duration: 6s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } .cs-picture { border-radius: 50%; border: clamp(6px, 1.2vw, 12px) solid #fff; /* clips the img tag corners */ overflow: hidden; position: absolute; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-picture1 { width: calc(672 / 16 * 1em); height: calc(672 / 16 * 1em); top: calc(-12 / 16 * 1em); left: calc(-12 / 16 * 1em); } .cs-picture2 { width: calc(200 / 16 * 1em); height: calc(200 / 16 * 1em); top: calc(-12 / 16 * 1em); left: calc(-12 / 16 * 1em); animation-name: floatAnimation2; animation-duration: 20s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } .cs-picture3 { width: calc(300 / 16 * 1em); height: calc(300 / 16 * 1em); bottom: calc(-12 / 16 * 1em); right: calc(-12 / 16 * 1em); animation-name: floatAnimation; animation-duration: 13s; animation-delay: 1s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #faq-350-350 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: flex-start; gap: calc(52 / 16 * 1rem); } .cs-left { /* reset the scale */ font-size: min(1vw, 1em); /* prevents flexbox from squishing it */ flex: none; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-topper { text-align: left; width: 80%; margin-left: 0; } } }
/*-- -------------------------- --> <--- FAQ --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #faq-350-350 { padding: var(--sectionPadding); background: #f7f7f7; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; /* 40px - 48px */ gap: clamp(2.5rem, 5vw, 3rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(550 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-title { margin: 0 0 calc(32 / 16 * 1rem) 0; } .cs-topper { padding-left: clamp(1rem, 1.3vw, 1.25rem); } .cs-faq-group { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; } .cs-faq-item { list-style: none; width: 100%; border-bottom: 1px solid #e8e8e8; transition: border-bottom 0.3s; &.active { border-color: var(--primaryLight); .cs-button { &:before { background-color: var(--primaryLight); transform: rotate(315deg); } &:after { background-color: var(--primaryLight); transform: rotate(-315deg); } } .cs-item-p { height: auto; /* 20px - 24px bottom */ /* 16px - 24px left & right */ padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem); opacity: 1; } } } .cs-button { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; text-align: left; font-weight: bold; /* 16px - 20px */ padding: clamp(1rem, 1.3vw, 1.25rem); border: none; background: transparent; color: var(--headerColor); display: block; width: 100%; position: relative; transition: background-color 0.3s, color 0.3s; &:hover { cursor: pointer; } &:before { /* left line */ content: ""; width: calc(8 / 16 * 1rem); height: calc(2 / 16 * 1rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: calc(24 / 16 * 1rem); transform: rotate(45deg); /* animate the transform from the left side of the x axis, and the center of the y */ transform-origin: left center; transition: transform 0.5s; } &:after { /* right line */ content: ""; width: calc(8 / 16 * 1rem); height: calc(2 / 16 * 1rem); background-color: var(--headerColor); opacity: 1; border-radius: 50%; position: absolute; display: block; top: 45%; right: calc(21 / 16 * 1rem); transform: rotate(-45deg); /* animate the transform from the right side of the x axis, and the center of the y */ transform-origin: right center; transition: transform 0.5s; } } .cs-button-text { width: 80%; display: block; } .cs-item-p { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; width: 90%; height: 0; margin: 0; /* 16px - 24px */ padding: 0 clamp(1rem, 2vw, 1.5rem); opacity: 0; color: var(--bodyTextColor); /* clips the text so it doesn't show up */ overflow: hidden; transition: opacity 0.3s, padding-bottom 0.3s; } .cs-left { /* scaling entire section down. font-size starts at a min in vw, and stops and not the root, we use ems for this entire section */ font-size: min(2.08vw, 0.7em); width: calc(686 / 16 * 1em); height: calc(672 / 16 * 1em); position: relative; /* flips it horizontally */ transform: scaleX(-1); @keyframes floatAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-2em); } 100% { transform: translateY(0); } } @keyframes floatAnimation2 { 0% { transform: translateY(0); } 50% { transform: translateY(-1em); } 100% { transform: translateY(0); } } &:before { /* blue circle */ content: ""; width: calc(120 / 16 * 1em); height: calc(120 / 16 * 1em); border-radius: 50%; background: var(--secondary); opacity: 1; position: absolute; display: block; bottom: calc(100 / 16 * 1em); left: calc(0 / 16 * 1em); z-index: 10; animation-name: floatAnimation; animation-duration: 6s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } .cs-picture { border-radius: 50%; border: clamp(6px, 1.2vw, 12px) solid #fff; /* clips the img tag corners */ overflow: hidden; position: absolute; display: block; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-picture1 { width: calc(672 / 16 * 1em); height: calc(672 / 16 * 1em); top: calc(-12 / 16 * 1em); left: calc(-12 / 16 * 1em); } .cs-picture2 { width: calc(200 / 16 * 1em); height: calc(200 / 16 * 1em); top: calc(-12 / 16 * 1em); left: calc(-12 / 16 * 1em); animation-name: floatAnimation2; animation-duration: 20s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } .cs-picture3 { width: calc(300 / 16 * 1em); height: calc(300 / 16 * 1em); bottom: calc(-12 / 16 * 1em); right: calc(-12 / 16 * 1em); animation-name: floatAnimation; animation-duration: 13s; animation-delay: 1s; animation-timing-function: ease-in-out; animation-fill-mode: forwards; animation-iteration-count: infinite; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #faq-350-350 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: flex-start; gap: calc(52 / 16 * 1rem); } .cs-left { /* reset the scale */ font-size: min(1vw, 1em); /* prevents flexbox from squishing it */ flex: none; /* sends it to the right in the 2nd position */ order: 2; } .cs-title, .cs-topper { text-align: left; width: 80%; margin-left: 0; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #faq-350-350 { background-color: var(--medium); .cs-picture { border-color: var(--accent); } .cs-topper { color: var(--primaryLight); } .cs-title, .cs-item-p { color: var(--bodyTextColorWhite); } .cs-faq-item { border-color: rgba(255, 255, 255, 0.2); &.active { border-color: var(--primaryLight); .cs-button { color: var(--primaryLight); &:before, &:after { background-color: var(--primaryLight); } } } } .cs-button { color: var(--bodyTextColorWhite); &:before, &:after { background-color: var(--bodyTextColorWhite); } } } } }
const faqItems = Array.from(document.querySelectorAll('.cs-faq-item')); for (const item of faqItems) { const onClick = () => { item.classList.toggle('active') } item.addEventListener('click', onClick) }
: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