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)
4 Card
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
<!-- ============================================ --> <!-- Stats --> <!-- ============================================ --> <section id="stats-1229"> <div class="cs-container"> <div class="cs-content"> <div class="cs-flex"> <span class="cs-topper">YOU'RE IN GOOD COMPANY</span> <h2 class="cs-title">2,000+ Company Taking Investment from Us</h2> <p class="cs-text"> In the new era of technology we look in the future with certainty and pride for our company and business. consider all the drivers of change gives you the blocks & pride for our components you need to change to create a truly professional website era. </p> </div> <ul class="cs-card-group"> <li class="cs-item"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/transparency.svg" alt="icon" class="cs-icon" aria-hidden="true" decoding="async" width="60" height="60"> <h3 class="cs-h3">Transparency</h3> </li> <li class="cs-item"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/empowerment.svg" alt="icon" class="cs-icon" aria-hidden="true" decoding="async" width="60" height="60"> <h3 class="cs-h3">Empowerment</h3> </li> <li class="cs-item"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/growth.svg" alt="icon" class="cs-icon" aria-hidden="true" decoding="async" width="60" height="60"> <h3 class="cs-h3">Growth</h3> </li> <li class="cs-item"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/partnership.svg" alt="icon" class="cs-icon" aria-hidden="true" decoding="async" width="60" height="60"> <h3 class="cs-h3">Partnership</h3> </li> </ul> </div> <ul class="cs-stat-group"> <li class="cs-stat"> <span class="cs-desc">Individual Offices</span> <span class="cs-number">15+</span> </li> <li class="cs-stat"> <span class="cs-desc">Years of Experiences</span> <span class="cs-number">12+</span> </li> <li class="cs-stat"> <span class="cs-desc">Professional Team</span> <span class="cs-number">350</span> </li> <li class="cs-stat"> <span class="cs-desc">Projects Completed</span> <span class="cs-number">375</span> </li> <li class="cs-stat"> <span class="cs-desc">Happy Clients</span> <span class="cs-number">2.5k+</span> </li> </ul> </div> </section>
/*-- -------------------------- --> <--- Stats --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #stats-1229 { padding: var(--sectionPadding); position: relative; z-index: 1; } #stats-1229:before { content: ""; position: absolute; display: block; height: 100%; width: 100%; background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/chevron-pattern-light3.svg"); background-position: center; background-size: auto; background-repeat: repeat; opacity: 0.3; top: 0; left: 0; z-index: -1; } #stats-1229 .cs-container { /* changes to 1280px at desktop */ max-width: 36.5rem; width: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #stats-1229 .cs-content { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; } #stats-1229 .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #stats-1229 .cs-title { max-width: 20ch; } #stats-1229 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #stats-1229 .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ /* 16px - 40px top & bottom */ /* 16px - 32px left & right */ padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); box-sizing: border-box; background: #f7f7f7; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: 0.75rem; /* clips cs-icon overflowing */ overflow: hidden; grid-column: span 6; } #stats-1229 .cs-icon { /* 32px - 40px */ width: clamp(2rem, 3vw, 2.5rem); height: auto; margin: 0; flex: none; } #stats-1229 .cs-h3 { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 900; width: 100%; margin: 0; color: var(--headerColor); /* wraps longer words on the smallest screen sizes */ overflow-wrap: break-word; } #stats-1229 .cs-stat-group { width: 100%; margin: auto; padding: 0; display: grid; justify-content: center; align-items: center; grid-template-columns: repeat(6, 1fr); } #stats-1229 .cs-stat { list-style: none; margin: 0; /* 16px - 40px */ padding: clamp(1rem, 3vw, 2.5rem) 1rem; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; grid-column: span 2; /* border code */ /* remove the border on the far-right elements */ /* makes the last two items span across multiple columns. changes at desktop to one line */ } #stats-1229 .cs-stat:before { content: ""; width: 2px; height: 100%; background: linear-gradient( 0deg, rgba(72, 72, 72, 0) 0%, #484848 50%, rgba(72, 72, 72, 0) 100% ); position: absolute; top: 0; right: 0; } #stats-1229 .cs-stat:nth-of-type(3):before, #stats-1229 .cs-stat:nth-of-type(5):before { content: none; } #stats-1229 .cs-stat:nth-of-type(4), #stats-1229 .cs-stat:nth-of-type(5) { grid-column: span 3; } #stats-1229 .cs-desc { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: center; /* keeps the width of the stat description from overflowing onto the border */ /* 88px - 176px */ width: clamp(5.5rem, 20vw, 11rem); margin-bottom: 0.5rem; color: #858585; display: block; } #stats-1229 .cs-number { /* 25px - 49px */ font-size: clamp(1.5625rem, 3vw, 3.0625rem); line-height: 1.2em; font-weight: 900; margin: 0; color: var(--headerColor); display: block; } } /* Tablet - 650px */ @media only screen and (min-width: 40.625rem) { #stats-1229 .cs-container { flex-direction: row; flex-wrap: wrap; } #stats-1229 .cs-card-group { display: grid; /* makes all grid items stretch to have the same height if their content isn't all the same height */ align-items: stretch; grid-template-columns: repeat(2, 1fr); } #stats-1229 .cs-item { grid-column: span 1; flex-direction: row; align-items: center; } #stats-1229 .cs-stat-group { flex-direction: row; flex-wrap: wrap; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #stats-1229 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: center; } #stats-1229 .cs-content { flex-direction: row; align-items: center; } #stats-1229 .cs-title, #stats-1229 .cs-text { max-width: none; } #stats-1229 .cs-card-group { width: 50%; /* prevents flexbox from squishing it */ flex: none; } #stats-1229 .cs-stat-group { max-width: 80rem; grid-template-columns: repeat(5, 1fr); } #stats-1229 .cs-stat { grid-column: span 1; } #stats-1229 .cs-stat:nth-of-type(4), #stats-1229 .cs-stat:nth-of-type(5) { grid-column: span 1; } #stats-1229 .cs-stat:nth-of-type(3):before { content: ""; } }
/*-- -------------------------- --> <--- Stats --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #stats-1229 { padding: var(--sectionPadding); position: relative; z-index: 1; } #stats-1229:before { content: ""; position: absolute; display: block; height: 100%; width: 100%; background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/chevron-pattern-light3.svg"); background-position: center; background-size: auto; background-repeat: repeat; opacity: 0.3; top: 0; left: 0; z-index: -1; } #stats-1229 .cs-container { /* changes to 1280px at desktop */ max-width: 36.5rem; width: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #stats-1229 .cs-content { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; } #stats-1229 .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #stats-1229 .cs-title { max-width: 20ch; } #stats-1229 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #stats-1229 .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ /* 16px - 40px top & bottom */ /* 16px - 32px left & right */ padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); box-sizing: border-box; background: #f7f7f7; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: 0.75rem; /* clips cs-icon overflowing */ overflow: hidden; grid-column: span 6; } #stats-1229 .cs-icon { /* 32px - 40px */ width: clamp(2rem, 3vw, 2.5rem); height: auto; margin: 0; flex: none; } #stats-1229 .cs-h3 { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 900; width: 100%; margin: 0; color: var(--headerColor); /* wraps longer words on the smallest screen sizes */ overflow-wrap: break-word; } #stats-1229 .cs-stat-group { width: 100%; margin: auto; padding: 0; display: grid; justify-content: center; align-items: center; grid-template-columns: repeat(6, 1fr); } #stats-1229 .cs-stat { list-style: none; margin: 0; /* 16px - 40px */ padding: clamp(1rem, 3vw, 2.5rem) 1rem; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; grid-column: span 2; /* border code */ /* remove the border on the far-right elements */ /* makes the last two items span across multiple columns. changes at desktop to one line */ } #stats-1229 .cs-stat:before { content: ""; width: 2px; height: 100%; background: linear-gradient( 0deg, rgba(72, 72, 72, 0) 0%, #484848 50%, rgba(72, 72, 72, 0) 100% ); position: absolute; top: 0; right: 0; } #stats-1229 .cs-stat:nth-of-type(3):before, #stats-1229 .cs-stat:nth-of-type(5):before { content: none; } #stats-1229 .cs-stat:nth-of-type(4), #stats-1229 .cs-stat:nth-of-type(5) { grid-column: span 3; } #stats-1229 .cs-desc { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: center; /* keeps the width of the stat description from overflowing onto the border */ /* 88px - 176px */ width: clamp(5.5rem, 20vw, 11rem); margin-bottom: 0.5rem; color: #858585; display: block; } #stats-1229 .cs-number { /* 25px - 49px */ font-size: clamp(1.5625rem, 3vw, 3.0625rem); line-height: 1.2em; font-weight: 900; margin: 0; color: var(--headerColor); display: block; } } /* Tablet - 650px */ @media only screen and (min-width: 40.625rem) { #stats-1229 .cs-container { flex-direction: row; flex-wrap: wrap; } #stats-1229 .cs-card-group { display: grid; /* makes all grid items stretch to have the same height if their content isn't all the same height */ align-items: stretch; grid-template-columns: repeat(2, 1fr); } #stats-1229 .cs-item { grid-column: span 1; flex-direction: row; align-items: center; } #stats-1229 .cs-stat-group { flex-direction: row; flex-wrap: wrap; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #stats-1229 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: center; } #stats-1229 .cs-content { flex-direction: row; align-items: center; } #stats-1229 .cs-title, #stats-1229 .cs-text { max-width: none; } #stats-1229 .cs-card-group { width: 50%; /* prevents flexbox from squishing it */ flex: none; } #stats-1229 .cs-stat-group { max-width: 80rem; grid-template-columns: repeat(5, 1fr); } #stats-1229 .cs-stat { grid-column: span 1; } #stats-1229 .cs-stat:nth-of-type(4), #stats-1229 .cs-stat:nth-of-type(5) { grid-column: span 1; } #stats-1229 .cs-stat:nth-of-type(3):before { content: ""; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #stats-1229:before { opacity: 0.4; filter: grayscale(1) brightness(1000%); } body.dark-mode #stats-1229 .cs-topper { color: var(--primaryLight); } body.dark-mode #stats-1229 .cs-title, body.dark-mode #stats-1229 .cs-text, body.dark-mode #stats-1229 .cs-h3, body.dark-mode #stats-1229 .cs-number, body.dark-mode #stats-1229 .cs-desc { color: var(--bodyTextColorWhite); } body.dark-mode #stats-1229 .cs-text, body.dark-mode #stats-1229 .cs-desc { opacity: 0.8; } body.dark-mode #stats-1229 .cs-icon { filter: grayscale(1) brightness(1000%); } body.dark-mode #stats-1229 .cs-item { background-color: var(--medium); border-color: rgba(255, 255, 255, 0.2); } body.dark-mode #stats-1229 .cs-icon { opacity: 0.5; } }
/*-- -------------------------- --> <--- Stats --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #stats-1229 { padding: var(--sectionPadding); position: relative; z-index: 1; &:before { content: ""; position: absolute; display: block; height: 100%; width: 100%; background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/chevron-pattern-light3.svg"); background-position: center; background-size: auto; background-repeat: repeat; opacity: 0.3; top: 0; left: 0; z-index: -1; } .cs-container { /* changes to 1280px at desktop */ max-width: (584/16rem); width: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { display: flex; flex-direction: column; align-items: flex-start; gap: (32/16rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; max-width: (650/16rem); width: 100%; margin: 0; color: var(--bodyTextColor); } .cs-title { max-width: 20ch; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 40px top & bottom */ /* 16px - 32px left & right */ padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); box-sizing: border-box; background: #f7f7f7; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: (12/16rem); /* clips cs-icon overflowing */ overflow: hidden; grid-column: span 6; } .cs-icon { /* 32px - 40px */ width: clamp(2rem, 3vw, 2.5rem); height: auto; margin: 0; flex: none; } .cs-h3 { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 900; width: 100%; margin: 0; color: var(--headerColor); /* wraps longer words on the smallest screen sizes */ overflow-wrap: break-word; } .cs-stat-group { width: 100%; margin: auto; padding: 0; display: grid; justify-content: center; align-items: center; grid-template-columns: repeat(6, 1fr); } .cs-stat { list-style: none; margin: 0; /* 16px - 40px */ padding: clamp(1rem, 3vw, 2.5rem) (16/16rem); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; grid-column: span 2; /* border code */ &:before { content: ""; width: 2px; height: 100%; background: linear-gradient( 0deg, rgba(72, 72, 72, 0) 0%, rgba(72, 72, 72, 1) 50%, rgba(72, 72, 72, 0) 100% ); position: absolute; top: 0; right: 0; } /* remove the border on the far-right elements */ &:nth-of-type(3), &:nth-of-type(5) { &:before { content: none; } } /* makes the last two items span across multiple columns. changes at desktop to one line */ &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 3; } } .cs-desc { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: center; /* keeps the width of the stat description from overflowing onto the border */ /* 88px - 176px */ width: clamp(5.5rem, 20vw, 11rem); margin-bottom: (8/16rem); color: #858585; display: block; } .cs-number { /* 25px - 49px */ font-size: clamp(1.5625rem, 3vw, 3.0625rem); line-height: 1.2em; font-weight: 900; margin: 0; color: var(--headerColor); display: block; } } } /* Tablet - 650px */ @media only screen and (min-width: 40.625rem) { #stats-1229 { .cs-container { flex-direction: row; flex-wrap: wrap; } .cs-card-group { display: grid; /* makes all grid items stretch to have the same height if their content isn't all the same height */ align-items: stretch; grid-template-columns: repeat(2, 1fr); } .cs-item { grid-column: span 1; flex-direction: row; align-items: center; } .cs-stat-group { flex-direction: row; flex-wrap: wrap; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #stats-1229 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-content { flex-direction: row; align-items: center; } .cs-title, .cs-text { max-width: none; } .cs-card-group { width: 50%; /* prevents flexbox from squishing it */ flex: none; } .cs-stat-group { max-width: (1280/16rem); grid-template-columns: repeat(5, 1fr); } .cs-stat { grid-column: span 1; &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 1; } &:nth-of-type(3) { &:before { content: ""; } } } } }
/*-- -------------------------- --> <--- Stats --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #stats-1229 { padding: var(--sectionPadding); position: relative; z-index: 1; &:before { content: ""; position: absolute; display: block; height: 100%; width: 100%; background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/chevron-pattern-light3.svg"); background-position: center; background-size: auto; background-repeat: repeat; opacity: 0.3; top: 0; left: 0; z-index: -1; } .cs-container { /* changes to 1280px at desktop */ max-width: (584/16rem); width: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { display: flex; flex-direction: column; align-items: flex-start; gap: (32/16rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; max-width: (650/16rem); width: 100%; margin: 0; color: var(--bodyTextColor); } .cs-title { max-width: 20ch; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 40px top & bottom */ /* 16px - 32px left & right */ padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); box-sizing: border-box; background: #f7f7f7; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: (12/16rem); /* clips cs-icon overflowing */ overflow: hidden; grid-column: span 6; } .cs-icon { /* 32px - 40px */ width: clamp(2rem, 3vw, 2.5rem); height: auto; margin: 0; flex: none; } .cs-h3 { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 900; width: 100%; margin: 0; color: var(--headerColor); /* wraps longer words on the smallest screen sizes */ overflow-wrap: break-word; } .cs-stat-group { width: 100%; margin: auto; padding: 0; display: grid; justify-content: center; align-items: center; grid-template-columns: repeat(6, 1fr); } .cs-stat { list-style: none; margin: 0; /* 16px - 40px */ padding: clamp(1rem, 3vw, 2.5rem) (16/16rem); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; grid-column: span 2; /* border code */ &:before { content: ""; width: 2px; height: 100%; background: linear-gradient( 0deg, rgba(72, 72, 72, 0) 0%, rgba(72, 72, 72, 1) 50%, rgba(72, 72, 72, 0) 100% ); position: absolute; top: 0; right: 0; } /* remove the border on the far-right elements */ &:nth-of-type(3), &:nth-of-type(5) { &:before { content: none; } } /* makes the last two items span across multiple columns. changes at desktop to one line */ &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 3; } } .cs-desc { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: center; /* keeps the width of the stat description from overflowing onto the border */ /* 88px - 176px */ width: clamp(5.5rem, 20vw, 11rem); margin-bottom: (8/16rem); color: #858585; display: block; } .cs-number { /* 25px - 49px */ font-size: clamp(1.5625rem, 3vw, 3.0625rem); line-height: 1.2em; font-weight: 900; margin: 0; color: var(--headerColor); display: block; } } } /* Tablet - 650px */ @media only screen and (min-width: 40.625rem) { #stats-1229 { .cs-container { flex-direction: row; flex-wrap: wrap; } .cs-card-group { display: grid; /* makes all grid items stretch to have the same height if their content isn't all the same height */ align-items: stretch; grid-template-columns: repeat(2, 1fr); } .cs-item { grid-column: span 1; flex-direction: row; align-items: center; } .cs-stat-group { flex-direction: row; flex-wrap: wrap; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #stats-1229 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-content { flex-direction: row; align-items: center; } .cs-title, .cs-text { max-width: none; } .cs-card-group { width: 50%; /* prevents flexbox from squishing it */ flex: none; } .cs-stat-group { max-width: (1280/16rem); grid-template-columns: repeat(5, 1fr); } .cs-stat { grid-column: span 1; &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 1; } &:nth-of-type(3) { &:before { content: ""; } } } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #stats-1229 { &:before { opacity: 0.4; filter: grayscale(1) brightness(1000%); } .cs-topper { color: var(--primaryLight); } .cs-title, .cs-text, .cs-h3, .cs-number, .cs-desc { color: var(--bodyTextColorWhite); } .cs-text, .cs-desc { opacity: 0.8; } .cs-icon { filter: grayscale(1) brightness(1000%); } .cs-item { background-color: var(--medium); border-color: rgba(255, 255, 255, 0.2); } .cs-icon { opacity: 0.5; } } } }
/*-- -------------------------- --> <--- Stats --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #stats-1229 { padding: var(--sectionPadding); position: relative; z-index: 1; &:before { content: ""; position: absolute; display: block; height: 100%; width: 100%; background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/chevron-pattern-light3.svg"); background-position: center; background-size: auto; background-repeat: repeat; opacity: 0.3; top: 0; left: 0; z-index: -1; } .cs-container { /* changes to 1280px at desktop */ max-width: calc(584 / 16 * 1rem); width: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { display: flex; flex-direction: column; align-items: flex-start; gap: calc(32 / 16 * 1rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; max-width: calc(650 / 16 * 1rem); width: 100%; margin: 0; color: var(--bodyTextColor); } .cs-title { max-width: 20ch; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 40px top & bottom */ /* 16px - 32px left & right */ padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); box-sizing: border-box; background: #f7f7f7; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: calc(12 / 16 * 1rem); /* clips cs-icon overflowing */ overflow: hidden; grid-column: span 6; } .cs-icon { /* 32px - 40px */ width: clamp(2rem, 3vw, 2.5rem); height: auto; margin: 0; flex: none; } .cs-h3 { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 900; width: 100%; margin: 0; color: var(--headerColor); /* wraps longer words on the smallest screen sizes */ overflow-wrap: break-word; } .cs-stat-group { width: 100%; margin: auto; padding: 0; display: grid; justify-content: center; align-items: center; grid-template-columns: repeat(6, 1fr); } .cs-stat { list-style: none; margin: 0; /* 16px - 40px */ padding: clamp(1rem, 3vw, 2.5rem) calc(16 / 16 * 1rem); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; grid-column: span 2; /* border code */ &:before { content: ""; width: 2px; height: 100%; background: linear-gradient( 0deg, rgba(72, 72, 72, 0) 0%, rgba(72, 72, 72, 1) 50%, rgba(72, 72, 72, 0) 100% ); position: absolute; top: 0; right: 0; } /* remove the border on the far-right elements */ &:nth-of-type(3), &:nth-of-type(5) { &:before { content: none; } } /* makes the last two items span across multiple columns. changes at desktop to one line */ &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 3; } } .cs-desc { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: center; /* keeps the width of the stat description from overflowing onto the border */ /* 88px - 176px */ width: clamp(5.5rem, 20vw, 11rem); margin-bottom: calc(8 / 16 * 1rem); color: #858585; display: block; } .cs-number { /* 25px - 49px */ font-size: clamp(1.5625rem, 3vw, 3.0625rem); line-height: 1.2em; font-weight: 900; margin: 0; color: var(--headerColor); display: block; } } } /* Tablet - 650px */ @media only screen and (min-width: 40.625rem) { #stats-1229 { .cs-container { flex-direction: row; flex-wrap: wrap; } .cs-card-group { display: grid; /* makes all grid items stretch to have the same height if their content isn't all the same height */ align-items: stretch; grid-template-columns: repeat(2, 1fr); } .cs-item { grid-column: span 1; flex-direction: row; align-items: center; } .cs-stat-group { flex-direction: row; flex-wrap: wrap; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #stats-1229 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-content { flex-direction: row; align-items: center; } .cs-title, .cs-text { max-width: none; } .cs-card-group { width: 50%; /* prevents flexbox from squishing it */ flex: none; } .cs-stat-group { max-width: calc(1280 / 16 * 1rem); grid-template-columns: repeat(5, 1fr); } .cs-stat { grid-column: span 1; &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 1; } &:nth-of-type(3) { &:before { content: ""; } } } } }
/*-- -------------------------- --> <--- Stats --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #stats-1229 { padding: var(--sectionPadding); position: relative; z-index: 1; &:before { content: ""; position: absolute; display: block; height: 100%; width: 100%; background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/chevron-pattern-light3.svg"); background-position: center; background-size: auto; background-repeat: repeat; opacity: 0.3; top: 0; left: 0; z-index: -1; } .cs-container { /* changes to 1280px at desktop */ max-width: calc(584 / 16 * 1rem); width: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { display: flex; flex-direction: column; align-items: flex-start; gap: calc(32 / 16 * 1rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; max-width: calc(650 / 16 * 1rem); width: 100%; margin: 0; color: var(--bodyTextColor); } .cs-title { max-width: 20ch; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 40px top & bottom */ /* 16px - 32px left & right */ padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); box-sizing: border-box; background: #f7f7f7; border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: calc(12 / 16 * 1rem); /* clips cs-icon overflowing */ overflow: hidden; grid-column: span 6; } .cs-icon { /* 32px - 40px */ width: clamp(2rem, 3vw, 2.5rem); height: auto; margin: 0; flex: none; } .cs-h3 { /* 16px - 25px */ font-size: clamp(1rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 900; width: 100%; margin: 0; color: var(--headerColor); /* wraps longer words on the smallest screen sizes */ overflow-wrap: break-word; } .cs-stat-group { width: 100%; margin: auto; padding: 0; display: grid; justify-content: center; align-items: center; grid-template-columns: repeat(6, 1fr); } .cs-stat { list-style: none; margin: 0; /* 16px - 40px */ padding: clamp(1rem, 3vw, 2.5rem) calc(16 / 16 * 1rem); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; grid-column: span 2; /* border code */ &:before { content: ""; width: 2px; height: 100%; background: linear-gradient( 0deg, rgba(72, 72, 72, 0) 0%, rgba(72, 72, 72, 1) 50%, rgba(72, 72, 72, 0) 100% ); position: absolute; top: 0; right: 0; } /* remove the border on the far-right elements */ &:nth-of-type(3), &:nth-of-type(5) { &:before { content: none; } } /* makes the last two items span across multiple columns. changes at desktop to one line */ &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 3; } } .cs-desc { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: center; /* keeps the width of the stat description from overflowing onto the border */ /* 88px - 176px */ width: clamp(5.5rem, 20vw, 11rem); margin-bottom: calc(8 / 16 * 1rem); color: #858585; display: block; } .cs-number { /* 25px - 49px */ font-size: clamp(1.5625rem, 3vw, 3.0625rem); line-height: 1.2em; font-weight: 900; margin: 0; color: var(--headerColor); display: block; } } } /* Tablet - 650px */ @media only screen and (min-width: 40.625rem) { #stats-1229 { .cs-container { flex-direction: row; flex-wrap: wrap; } .cs-card-group { display: grid; /* makes all grid items stretch to have the same height if their content isn't all the same height */ align-items: stretch; grid-template-columns: repeat(2, 1fr); } .cs-item { grid-column: span 1; flex-direction: row; align-items: center; } .cs-stat-group { flex-direction: row; flex-wrap: wrap; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #stats-1229 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: center; } .cs-content { flex-direction: row; align-items: center; } .cs-title, .cs-text { max-width: none; } .cs-card-group { width: 50%; /* prevents flexbox from squishing it */ flex: none; } .cs-stat-group { max-width: calc(1280 / 16 * 1rem); grid-template-columns: repeat(5, 1fr); } .cs-stat { grid-column: span 1; &:nth-of-type(4), &:nth-of-type(5) { grid-column: span 1; } &:nth-of-type(3) { &:before { content: ""; } } } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #stats-1229 { &:before { opacity: 0.4; filter: grayscale(1) brightness(1000%); } .cs-topper { color: var(--primaryLight); } .cs-title, .cs-text, .cs-h3, .cs-number, .cs-desc { color: var(--bodyTextColorWhite); } .cs-text, .cs-desc { opacity: 0.8; } .cs-icon { filter: grayscale(1) brightness(1000%); } .cs-item { background-color: var(--medium); border-color: rgba(255, 255, 255, 0.2); } .cs-icon { opacity: 0.5; } } } }
: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