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)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(6)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(0)
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
(28)
Non Standard
(1)
Reverse
(8)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(11)
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)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
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
(4)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(1)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(7)
Contact Forms
(7)
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)
Single Review
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
<!-- ============================================ --> <!-- Reviews --> <!-- ============================================ --> <section id="reviews-439"> <div class="cs-container"> <div class="cs-content"> <p class="cs-review"> <!--Placed inside p tag for more consistent positioning--> <img class="cs-quote" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Reviews/quote-left.svg" alt="quote icon" width="120" height="106" loading="lazy" decoding="async" aria-hidden="true"> “We purchased our property in Katoomba from Landscape about 7 years ago. Landscape’s made the process so easy that when it came time to sell we knew immediately where to turn” </p> <span class="cs-author">Dany Olmo - Customer of Landscape</span> </div> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Reviews/man-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Reviews/man.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Reviews/man.jpg" alt="person looking left" width="328" height="540" aria-hidden="true"> </picture> </div> </section>
/*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-439 { /* change width to make sure there is 16px gap left and right */ width: 91.112%; /* changes at tablet */ max-width: 34.375rem; /* using margin instead of padding so the green bar can rest at the true bottom of the section, without padding interrupting it */ margin: var(--sectionPadding); margin-left: auto; margin-right: auto; box-sizing: border-box; border-radius: 1.5rem; /* clips corners of green border */ overflow: hidden; position: relative; } #reviews-439:before { /* green bar */ content: ""; width: 100%; height: 0.5rem; background: var(--primaryLight); opacity: 1; position: absolute; display: block; bottom: 0; left: 0; z-index: 10; } #reviews-439 .cs-container { width: 100%; margin: auto; /* pushes down the same amount as the picture is pulled up */ margin-top: 5.8125rem; /* 20px - 108px left & right, clamp changes at desktop */ /* 48px - 100px bottom */ padding: 0 clamp(1.25rem, 6vw, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); border-radius: 1.5rem; /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #14142b; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; position: relative; } #reviews-439 .cs-review { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.5em; /* 24px - 48px changes at tablet */ margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0; color: #dad9e3; position: relative; z-index: 1; } #reviews-439 .cs-quote { /* 40px - 120px , clamp changes at tablet */ width: clamp(2.5rem, 11vw, 7.5rem); height: auto; display: block; position: absolute; left: 0; /* changes at tablet */ top: -3.75rem; z-index: -1; } #reviews-439 .cs-author { /* 16px - 31px */ font-size: clamp(1rem, 2.6vw, 1.9375rem); font-weight: 700; line-height: 1.2em; color: #fafbfc; } #reviews-439 .cs-picture { /* 116px - 328px */ width: clamp(7.25rem, 24vw, 20.5rem); margin-top: -5.8125rem; margin-bottom: 2.25rem; border-radius: 8.75rem; border: clamp(8px, 1vw, 12px) solid #ffffff; background-color: #fff; box-sizing: content-box; /* clips the img tag corners */ overflow: hidden; /* width divided by height */ aspect-ratio: 0.65079365; display: block; /* sends it to the top of the flexbox */ order: -1; position: relative; } #reviews-439 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes it act like a background image */ object-fit: cover; /* makes the top of the image line up at the top of the container */ object-position: top; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-439 { max-width: 80rem; } #reviews-439 .cs-container { padding-top: 6.75rem; flex-direction: row; justify-content: flex-end; } #reviews-439 .cs-content { width: 57%; } #reviews-439 .cs-review { /* 48px - 96px, clamp changes at desktop */ margin-bottom: clamp(3rem, 7vw, 6rem); } #reviews-439 .cs-quote { /* 80px - 120px , clamp changes at tablet */ width: clamp(5rem, 8vw, 7.5rem); top: -3.3125rem; /* 20px - 64px */ left: calc(clamp(1.25rem, 2vw, 4rem) * -1); } #reviews-439 .cs-picture { margin: 0; /* reset its order */ order: initial; position: absolute; /* 50px - 108px - wrapped in calc function turn multiple value by negative 1 and get a negative clamp value*/ top: calc(clamp(3.125rem, 8vw, 6.75rem) * -1); /* 52px - 100px */ left: clamp(3.25rem, 7vw, 6.25rem); } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-439 .cs-container { /* 60px - 108px left & right */ /* 48px - 100px bottom */ padding: 6.75rem clamp(3.75rem, 4.6vw + 2rem, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); } #reviews-439 .cs-review { /* 48px - 96px changes at tablet */ margin: 0 0 clamp(3rem, 4.2vw + 2rem, 6rem) 0; } }
/*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-439 { /* change width to make sure there is 16px gap left and right */ width: 91.112%; /* changes at tablet */ max-width: 34.375rem; /* using margin instead of padding so the green bar can rest at the true bottom of the section, without padding interrupting it */ margin: var(--sectionPadding); margin-left: auto; margin-right: auto; box-sizing: border-box; border-radius: 1.5rem; /* clips corners of green border */ overflow: hidden; position: relative; } #reviews-439:before { /* green bar */ content: ""; width: 100%; height: 0.5rem; background: var(--primaryLight); opacity: 1; position: absolute; display: block; bottom: 0; left: 0; z-index: 10; } #reviews-439 .cs-container { width: 100%; margin: auto; /* pushes down the same amount as the picture is pulled up */ margin-top: 5.8125rem; /* 20px - 108px left & right, clamp changes at desktop */ /* 48px - 100px bottom */ padding: 0 clamp(1.25rem, 6vw, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); border-radius: 1.5rem; /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #14142b; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; position: relative; } #reviews-439 .cs-review { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.5em; /* 24px - 48px changes at tablet */ margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0; color: #dad9e3; position: relative; z-index: 1; } #reviews-439 .cs-quote { /* 40px - 120px , clamp changes at tablet */ width: clamp(2.5rem, 11vw, 7.5rem); height: auto; display: block; position: absolute; left: 0; /* changes at tablet */ top: -3.75rem; z-index: -1; } #reviews-439 .cs-author { /* 16px - 31px */ font-size: clamp(1rem, 2.6vw, 1.9375rem); font-weight: 700; line-height: 1.2em; color: #fafbfc; } #reviews-439 .cs-picture { /* 116px - 328px */ width: clamp(7.25rem, 24vw, 20.5rem); margin-top: -5.8125rem; margin-bottom: 2.25rem; border-radius: 8.75rem; border: clamp(8px, 1vw, 12px) solid #ffffff; background-color: #fff; box-sizing: content-box; /* clips the img tag corners */ overflow: hidden; /* width divided by height */ aspect-ratio: 0.65079365; display: block; /* sends it to the top of the flexbox */ order: -1; position: relative; } #reviews-439 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes it act like a background image */ object-fit: cover; /* makes the top of the image line up at the top of the container */ object-position: top; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-439 { max-width: 80rem; } #reviews-439 .cs-container { padding-top: 6.75rem; flex-direction: row; justify-content: flex-end; } #reviews-439 .cs-content { width: 57%; } #reviews-439 .cs-review { /* 48px - 96px, clamp changes at desktop */ margin-bottom: clamp(3rem, 7vw, 6rem); } #reviews-439 .cs-quote { /* 80px - 120px , clamp changes at tablet */ width: clamp(5rem, 8vw, 7.5rem); top: -3.3125rem; /* 20px - 64px */ left: calc(clamp(1.25rem, 2vw, 4rem) * -1); } #reviews-439 .cs-picture { margin: 0; /* reset its order */ order: initial; position: absolute; /* 50px - 108px - wrapped in calc function turn multiple value by negative 1 and get a negative clamp value*/ top: calc(clamp(3.125rem, 8vw, 6.75rem) * -1); /* 52px - 100px */ left: clamp(3.25rem, 7vw, 6.25rem); } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-439 .cs-container { /* 60px - 108px left & right */ /* 48px - 100px bottom */ padding: 6.75rem clamp(3.75rem, 4.6vw + 2rem, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); } #reviews-439 .cs-review { /* 48px - 96px changes at tablet */ margin: 0 0 clamp(3rem, 4.2vw + 2rem, 6rem) 0; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #reviews-439 .cs-container { background-color: var(--medium); } body.dark-mode #reviews-439 .cs-quote { filter: grayscale(1) brightness(200%); opacity: 0.3; } body.dark-mode #reviews-439 .cs-picture { border-color: var(--dark); background-color: var(--dark); } }
/*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-439 { /* change width to make sure there is 16px gap left and right */ width: 91.112%; /* changes at tablet */ max-width: (550/16rem); /* using margin instead of padding so the green bar can rest at the true bottom of the section, without padding interrupting it */ margin: var(--sectionPadding); margin-left: auto; margin-right: auto; box-sizing: border-box; border-radius: (24/16rem); /* clips corners of green border */ overflow: hidden; position: relative; &:before { /* green bar */ content: ""; width: 100%; height: (8/16rem); background: var(--primaryLight); opacity: 1; position: absolute; display: block; bottom: 0; left: 0; z-index: 10; } .cs-container { width: 100%; margin: auto; /* pushes down the same amount as the picture is pulled up */ margin-top: (93/16rem); /* 20px - 108px left & right, clamp changes at desktop */ /* 48px - 100px bottom */ padding: 0 clamp(1.25rem, 6vw, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); border-radius: (24/16rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #14142b; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; position: relative; } .cs-review { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.5em; /* 24px - 48px changes at tablet */ margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0; color: #dad9e3; position: relative; z-index: 1; } .cs-quote { /* 40px - 120px , clamp changes at tablet */ width: clamp(2.5rem, 11vw, 7.5rem); height: auto; display: block; position: absolute; left: 0; /* changes at tablet */ top: (-60/16rem); z-index: -1; } .cs-author { /* 16px - 31px */ font-size: clamp(1rem, 2.6vw, 1.9375rem); font-weight: 700; line-height: 1.2em; color: #fafbfc; } .cs-picture { /* 116px - 328px */ width: clamp(7.25rem, 24vw, 20.5rem); margin-top: (-93/16rem); margin-bottom: (36/16rem); border-radius: (140/16rem); border: clamp(8px, 1vw, 12px) solid #fff; background-color: #fff; box-sizing: content-box; /* clips the img tag corners */ overflow: hidden; /* width divided by height */ aspect-ratio: 328/504; display: block; /* sends it to the top of the flexbox */ order: -1; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes it act like a background image */ object-fit: cover; /* makes the top of the image line up at the top of the container */ object-position: top; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-439 { max-width: (1280/16rem); .cs-container { padding-top: (108/16rem); flex-direction: row; justify-content: flex-end; } .cs-content { width: 57%; } .cs-review { /* 48px - 96px, clamp changes at desktop */ margin-bottom: clamp(3rem, 7vw, 6rem); } .cs-quote { /* 80px - 120px , clamp changes at tablet */ width: clamp(5rem, 8vw, 7.5rem); top: (-53/16rem); /* 20px - 64px */ left: ~"calc(clamp(1.25rem, 2vw, 4rem) *-1)"; } .cs-picture { margin: 0; /* reset its order */ order: initial; position: absolute; /* 50px - 108px - wrapped in calc function turn multiple value by negative 1 and get a negative clamp value*/ top: ~"calc(clamp(3.125rem, 8vw, 6.75rem) *-1)"; /* 52px - 100px */ left: clamp(3.25rem, 7vw, 6.25rem); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-439 { .cs-container { /* 60px - 108px left & right */ /* 48px - 100px bottom */ padding: (108/16rem) ~"clamp(3.75rem, 4.6vw + 2rem, 6.75rem) clamp(2.5rem, 8vw, 6.25rem)"; } .cs-review { /* 48px - 96px changes at tablet */ margin: ~"0 0 clamp(3rem, 4.2vw + 2rem, 6rem) 0"; } } }
/*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-439 { /* change width to make sure there is 16px gap left and right */ width: 91.112%; /* changes at tablet */ max-width: (550/16rem); /* using margin instead of padding so the green bar can rest at the true bottom of the section, without padding interrupting it */ margin: var(--sectionPadding); margin-left: auto; margin-right: auto; box-sizing: border-box; border-radius: (24/16rem); /* clips corners of green border */ overflow: hidden; position: relative; &:before { /* green bar */ content: ""; width: 100%; height: (8/16rem); background: var(--primaryLight); opacity: 1; position: absolute; display: block; bottom: 0; left: 0; z-index: 10; } .cs-container { width: 100%; margin: auto; /* pushes down the same amount as the picture is pulled up */ margin-top: (93/16rem); /* 20px - 108px left & right, clamp changes at desktop */ /* 48px - 100px bottom */ padding: 0 clamp(1.25rem, 6vw, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); border-radius: (24/16rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #14142b; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; position: relative; } .cs-review { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.5em; /* 24px - 48px changes at tablet */ margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0; color: #dad9e3; position: relative; z-index: 1; } .cs-quote { /* 40px - 120px , clamp changes at tablet */ width: clamp(2.5rem, 11vw, 7.5rem); height: auto; display: block; position: absolute; left: 0; /* changes at tablet */ top: (-60/16rem); z-index: -1; } .cs-author { /* 16px - 31px */ font-size: clamp(1rem, 2.6vw, 1.9375rem); font-weight: 700; line-height: 1.2em; color: #fafbfc; } .cs-picture { /* 116px - 328px */ width: clamp(7.25rem, 24vw, 20.5rem); margin-top: (-93/16rem); margin-bottom: (36/16rem); border-radius: (140/16rem); border: clamp(8px, 1vw, 12px) solid #fff; background-color: #fff; box-sizing: content-box; /* clips the img tag corners */ overflow: hidden; /* width divided by height */ aspect-ratio: 328/504; display: block; /* sends it to the top of the flexbox */ order: -1; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes it act like a background image */ object-fit: cover; /* makes the top of the image line up at the top of the container */ object-position: top; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-439 { max-width: (1280/16rem); .cs-container { padding-top: (108/16rem); flex-direction: row; justify-content: flex-end; } .cs-content { width: 57%; } .cs-review { /* 48px - 96px, clamp changes at desktop */ margin-bottom: clamp(3rem, 7vw, 6rem); } .cs-quote { /* 80px - 120px , clamp changes at tablet */ width: clamp(5rem, 8vw, 7.5rem); top: (-53/16rem); /* 20px - 64px */ left: ~"calc(clamp(1.25rem, 2vw, 4rem) *-1)"; } .cs-picture { margin: 0; /* reset its order */ order: initial; position: absolute; /* 50px - 108px - wrapped in calc function turn multiple value by negative 1 and get a negative clamp value*/ top: ~"calc(clamp(3.125rem, 8vw, 6.75rem) *-1)"; /* 52px - 100px */ left: clamp(3.25rem, 7vw, 6.25rem); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-439 { .cs-container { /* 60px - 108px left & right */ /* 48px - 100px bottom */ padding: (108/16rem) ~"clamp(3.75rem, 4.6vw + 2rem, 6.75rem) clamp(2.5rem, 8vw, 6.25rem)"; } .cs-review { /* 48px - 96px changes at tablet */ margin: ~"0 0 clamp(3rem, 4.2vw + 2rem, 6rem) 0"; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #reviews-439 { .cs-container { background-color: var(--medium); } .cs-quote { filter: grayscale(1) brightness(200%); opacity: 0.3; } .cs-picture { border-color: var(--dark); background-color: var(--dark); } } } }
/*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-439 { /* change width to make sure there is 16px gap left and right */ width: 91.112%; /* changes at tablet */ max-width: calc(550 / 16 * 1rem); /* using margin instead of padding so the green bar can rest at the true bottom of the section, without padding interrupting it */ margin: var(--sectionPadding); margin-left: auto; margin-right: auto; box-sizing: border-box; border-radius: calc(24 / 16 * 1rem); /* clips corners of green border */ overflow: hidden; position: relative; &:before { /* green bar */ content: ""; width: 100%; height: calc(8 / 16 * 1rem); background: var(--primaryLight); opacity: 1; position: absolute; display: block; bottom: 0; left: 0; z-index: 10; } .cs-container { width: 100%; margin: auto; /* pushes down the same amount as the picture is pulled up */ margin-top: calc(93 / 16 * 1rem); /* 20px - 108px left & right, clamp changes at desktop */ /* 48px - 100px bottom */ padding: 0 clamp(1.25rem, 6vw, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); border-radius: calc(24 / 16 * 1rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #14142b; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; position: relative; } .cs-review { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.5em; /* 24px - 48px changes at tablet */ margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0; color: #dad9e3; position: relative; z-index: 1; } .cs-quote { /* 40px - 120px , clamp changes at tablet */ width: clamp(2.5rem, 11vw, 7.5rem); height: auto; display: block; position: absolute; left: 0; /* changes at tablet */ top: calc(-60 / 16 * 1rem); z-index: -1; } .cs-author { /* 16px - 31px */ font-size: clamp(1rem, 2.6vw, 1.9375rem); font-weight: 700; line-height: 1.2em; color: #fafbfc; } .cs-picture { /* 116px - 328px */ width: clamp(7.25rem, 24vw, 20.5rem); margin-top: calc(-93 / 16 * 1rem); margin-bottom: calc(36 / 16 * 1rem); border-radius: calc(140 / 16 * 1rem); border: clamp(8px, 1vw, 12px) solid #fff; background-color: #fff; box-sizing: content-box; /* clips the img tag corners */ overflow: hidden; /* width divided by height */ aspect-ratio: 328/504; display: block; /* sends it to the top of the flexbox */ order: -1; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes it act like a background image */ object-fit: cover; /* makes the top of the image line up at the top of the container */ object-position: top; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-439 { max-width: calc(1280 / 16 * 1rem); .cs-container { padding-top: calc(108 / 16 * 1rem); flex-direction: row; justify-content: flex-end; } .cs-content { width: 57%; } .cs-review { /* 48px - 96px, clamp changes at desktop */ margin-bottom: clamp(3rem, 7vw, 6rem); } .cs-quote { /* 80px - 120px , clamp changes at tablet */ width: clamp(5rem, 8vw, 7.5rem); top: calc(-53 / 16 * 1rem); /* 20px - 64px */ left: calc(clamp(1.25rem, 2vw, 4rem) * -1); } .cs-picture { margin: 0; /* reset its order */ order: initial; position: absolute; /* 50px - 108px - wrapped in calc function turn multiple value by negative 1 and get a negative clamp value*/ top: calc(clamp(3.125rem, 8vw, 6.75rem) * -1); /* 52px - 100px */ left: clamp(3.25rem, 7vw, 6.25rem); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-439 { .cs-container { /* 60px - 108px left & right */ /* 48px - 100px bottom */ padding: calc(108 / 16 * 1rem) clamp(3.75rem, 4.6vw + 2rem, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); } .cs-review { /* 48px - 96px changes at tablet */ margin: 0 0 clamp(3rem, 4.2vw + 2rem, 6rem) 0; } } }
/*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-439 { /* change width to make sure there is 16px gap left and right */ width: 91.112%; /* changes at tablet */ max-width: calc(550 / 16 * 1rem); /* using margin instead of padding so the green bar can rest at the true bottom of the section, without padding interrupting it */ margin: var(--sectionPadding); margin-left: auto; margin-right: auto; box-sizing: border-box; border-radius: calc(24 / 16 * 1rem); /* clips corners of green border */ overflow: hidden; position: relative; &:before { /* green bar */ content: ""; width: 100%; height: calc(8 / 16 * 1rem); background: var(--primaryLight); opacity: 1; position: absolute; display: block; bottom: 0; left: 0; z-index: 10; } .cs-container { width: 100%; margin: auto; /* pushes down the same amount as the picture is pulled up */ margin-top: calc(93 / 16 * 1rem); /* 20px - 108px left & right, clamp changes at desktop */ /* 48px - 100px bottom */ padding: 0 clamp(1.25rem, 6vw, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); border-radius: calc(24 / 16 * 1rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #14142b; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; position: relative; } .cs-review { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.5em; /* 24px - 48px changes at tablet */ margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0; color: #dad9e3; position: relative; z-index: 1; } .cs-quote { /* 40px - 120px , clamp changes at tablet */ width: clamp(2.5rem, 11vw, 7.5rem); height: auto; display: block; position: absolute; left: 0; /* changes at tablet */ top: calc(-60 / 16 * 1rem); z-index: -1; } .cs-author { /* 16px - 31px */ font-size: clamp(1rem, 2.6vw, 1.9375rem); font-weight: 700; line-height: 1.2em; color: #fafbfc; } .cs-picture { /* 116px - 328px */ width: clamp(7.25rem, 24vw, 20.5rem); margin-top: calc(-93 / 16 * 1rem); margin-bottom: calc(36 / 16 * 1rem); border-radius: calc(140 / 16 * 1rem); border: clamp(8px, 1vw, 12px) solid #fff; background-color: #fff; box-sizing: content-box; /* clips the img tag corners */ overflow: hidden; /* width divided by height */ aspect-ratio: 328/504; display: block; /* sends it to the top of the flexbox */ order: -1; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* makes it act like a background image */ object-fit: cover; /* makes the top of the image line up at the top of the container */ object-position: top; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-439 { max-width: calc(1280 / 16 * 1rem); .cs-container { padding-top: calc(108 / 16 * 1rem); flex-direction: row; justify-content: flex-end; } .cs-content { width: 57%; } .cs-review { /* 48px - 96px, clamp changes at desktop */ margin-bottom: clamp(3rem, 7vw, 6rem); } .cs-quote { /* 80px - 120px , clamp changes at tablet */ width: clamp(5rem, 8vw, 7.5rem); top: calc(-53 / 16 * 1rem); /* 20px - 64px */ left: calc(clamp(1.25rem, 2vw, 4rem) * -1); } .cs-picture { margin: 0; /* reset its order */ order: initial; position: absolute; /* 50px - 108px - wrapped in calc function turn multiple value by negative 1 and get a negative clamp value*/ top: calc(clamp(3.125rem, 8vw, 6.75rem) * -1); /* 52px - 100px */ left: clamp(3.25rem, 7vw, 6.25rem); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-439 { .cs-container { /* 60px - 108px left & right */ /* 48px - 100px bottom */ padding: calc(108 / 16 * 1rem) clamp(3.75rem, 4.6vw + 2rem, 6.75rem) clamp(2.5rem, 8vw, 6.25rem); } .cs-review { /* 48px - 96px changes at tablet */ margin: 0 0 clamp(3rem, 4.2vw + 2rem, 6rem) 0; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #reviews-439 { .cs-container { background-color: var(--medium); } .cs-quote { filter: grayscale(1) brightness(200%); opacity: 0.3; } .cs-picture { border-color: var(--dark); background-color: var(--dark); } } } }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 43.75rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 40.625rem; margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: (700/16rem); margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4 / 16 * 1rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: calc(700 / 16 * 1rem); margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: calc(650 / 16 * 1rem); margin: 0; color: var(--bodyTextColor); }
Lorem Ipsum
Undo