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
(32)
Non Standard
(1)
Reverse
(10)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(13)
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
(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)
4 Steps
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
<!-- ============================================ --> <!-- Steps --> <!-- ============================================ --> <section id="steps-284"> <div class="cs-container"> <!-- Left Section --> <div class="cs-content"> <span class="cs-topper">Steps</span> <h2 class="cs-title">Our Process from Start to Finish</h2> <p class="cs-text"> strong amet, consectetur adipiscing elit. At tortor facilisis non, rutrum sagittis, libero. Iaculis egestas enim lacinia est phasellus odio laoreet nisl amet. </p> <a href="" class="cs-button-solid">Read More</a> </div> <!-- Right Section --> <ul class="cs-right-section"> <li class="cs-item"> <span class="cs-number">01</span> <p class="cs-item-text"> <strong>Lorem ipsum dolor</strong> sit amet, consectetur adipiscing elit. At tortor facilisis non. </p> </li> <li class="cs-item"> <span class="cs-number">02</span> <p class="cs-item-text"> <strong>Lorem ipsum dolor</strong> sit amet, consectetur adipiscing elit. At tortor facilisis non. </p> </li> <li class="cs-item"> <span class="cs-number">03</span> <p class="cs-item-text"> <strong>Lorem ipsum dolor</strong> sit amet, consectetur adipiscing elit. At tortor facilisis non. </p> </li> <li class="cs-item"> <span class="cs-number">04</span> <p class="cs-item-text"> <strong>Lorem ipsum dolor</strong> sit amet, consectetur adipiscing elit. At tortor facilisis non. </p> </li> </ul> </div> </section>
/*-- -------------------------- --> <--- Steps --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #steps-284 { padding: var(--sectionPadding); } #steps-284 .cs-container { width: 100%; /* changes to 1104px on tablet */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #steps-284 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 27.125rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #steps-284 .cs-text { margin-bottom: 1rem; } #steps-284 .cs-text:last-of-type { margin-bottom: 2rem; } #steps-284 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); border-radius: 0.25rem; display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #steps-284 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: 0.25rem; transition: width 0.3s; } #steps-284 .cs-button-solid:hover:before { width: 100%; } #steps-284 .cs-right-section { margin: 0; padding: 0; max-width: 35.125rem; } #steps-284 .cs-item { list-style: none; display: flex; justify-content: flex-start; align-items: center; } #steps-284 .cs-item:nth-of-type(1) .cs-item-text:before { height: 50%; top: auto; bottom: -1px; } #steps-284 .cs-item:nth-of-type(2), #steps-284 .cs-item:nth-of-type(4) { justify-content: flex-end; text-align: right; } #steps-284 .cs-item:nth-of-type(2) .cs-number, #steps-284 .cs-item:nth-of-type(4) .cs-number { /* Send number to the right */ order: 2; margin: 0; /* 15px - 24px */ margin-left: clamp(0.9375rem, 3vw, 1.5rem); } #steps-284 .cs-item:nth-of-type(2) .cs-item-text, #steps-284 .cs-item:nth-of-type(4) .cs-item-text { /* reverse padding */ padding-left: 0; /* 15px - 24px */ padding-right: clamp(0.9375rem, 3vw, 1.5rem); /* reset the border on the :before */ } #steps-284 .cs-item:nth-of-type(2) .cs-item-text:before, #steps-284 .cs-item:nth-of-type(4) .cs-item-text:before { border-top: 1px solid var(--primary); border-left: none; border-right: 1px solid var(--primary); left: auto; right: 0; bottom: 0; border-radius: 0 0.5rem 0.5rem 0; } #steps-284 .cs-item:nth-of-type(2) .cs-item-text:after, #steps-284 .cs-item:nth-of-type(4) .cs-item-text:after { /* move dot to the right now */ left: auto; right: -0.9375rem; } #steps-284 .cs-item:nth-of-type(3) .cs-item-text:before { height: auto; border-top: 1px solid var(--primary); border-radius: 0.5rem 0 0 0.5rem; top: 1px; bottom: 0px; } #steps-284 .cs-item:nth-of-type(4) .cs-item-text:before { height: 50%; border-radius: 0 0.5rem 0 0; border-bottom: none; top: -1px; } #steps-284 .cs-number { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; /* 15px - 24px */ margin-right: clamp(0.9375rem, 3vw, 1.5rem); /* 40px - 52px */ width: clamp(2.5rem, 5.1vw, 3.25rem); height: clamp(2.5rem, 5.1vw, 3.25rem); border-radius: 50%; border: 2px solid var(--primary); color: var(--headerColor); background-color: transparent; display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; } #steps-284 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; max-width: 18.75rem; /* 22px - 32px */ padding: clamp(1.375rem, 3vw, 2rem) 0; box-sizing: content-box; /* 15px - 24px */ padding-left: clamp(0.9375rem, 3vw, 1.5rem); position: relative; } #steps-284 .cs-item-text:before { /* Green line */ content: ""; width: 70%; height: 100%; border-radius: 0 0 0 0.5rem; border-left: 1px solid var(--primary); border-bottom: 1px solid var(--primary); box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 0; left: 0; } #steps-284 .cs-item-text:after { /* list circle */ content: ""; width: 0.5rem; height: 0.5rem; background: var(--primary); border-radius: 50%; border: 12px solid #fff; box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 50%; left: -0.9375rem; transform: translateY(-50%); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #steps-284 .cs-container { max-width: 69rem; flex-direction: row; justify-content: space-between; align-items: flex-start; column-gap: 2.75rem; } #steps-284 .cs-content { width: 50%; /* reset margin to play nice with flexbox */ margin: 0; } #steps-284 .cs-right-section { width: 57%; /* 20px - 25px - this pulls the section up so it's flush with the top of the left section, the padding top on the .cs-item-text is creating a gap at the top of the section. Wrapped in a calc() function to turn clamp() value into a negative number */ margin-top: calc(clamp(1.25rem, 2vw, 1.5625rem) * -1); } }
/*-- -------------------------- --> <--- Steps --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #steps-284 { padding: var(--sectionPadding); } #steps-284 .cs-container { width: 100%; /* changes to 1104px on tablet */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #steps-284 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 27.125rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #steps-284 .cs-text { margin-bottom: 1rem; } #steps-284 .cs-text:last-of-type { margin-bottom: 2rem; } #steps-284 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); border-radius: 0.25rem; display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #steps-284 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: 0.25rem; transition: width 0.3s; } #steps-284 .cs-button-solid:hover:before { width: 100%; } #steps-284 .cs-right-section { margin: 0; padding: 0; max-width: 35.125rem; } #steps-284 .cs-item { list-style: none; display: flex; justify-content: flex-start; align-items: center; } #steps-284 .cs-item:nth-of-type(1) .cs-item-text:before { height: 50%; top: auto; bottom: -1px; } #steps-284 .cs-item:nth-of-type(2), #steps-284 .cs-item:nth-of-type(4) { justify-content: flex-end; text-align: right; } #steps-284 .cs-item:nth-of-type(2) .cs-number, #steps-284 .cs-item:nth-of-type(4) .cs-number { /* Send number to the right */ order: 2; margin: 0; /* 15px - 24px */ margin-left: clamp(0.9375rem, 3vw, 1.5rem); } #steps-284 .cs-item:nth-of-type(2) .cs-item-text, #steps-284 .cs-item:nth-of-type(4) .cs-item-text { /* reverse padding */ padding-left: 0; /* 15px - 24px */ padding-right: clamp(0.9375rem, 3vw, 1.5rem); /* reset the border on the :before */ } #steps-284 .cs-item:nth-of-type(2) .cs-item-text:before, #steps-284 .cs-item:nth-of-type(4) .cs-item-text:before { border-top: 1px solid var(--primary); border-left: none; border-right: 1px solid var(--primary); left: auto; right: 0; bottom: 0; border-radius: 0 0.5rem 0.5rem 0; } #steps-284 .cs-item:nth-of-type(2) .cs-item-text:after, #steps-284 .cs-item:nth-of-type(4) .cs-item-text:after { /* move dot to the right now */ left: auto; right: -0.9375rem; } #steps-284 .cs-item:nth-of-type(3) .cs-item-text:before { height: auto; border-top: 1px solid var(--primary); border-radius: 0.5rem 0 0 0.5rem; top: 1px; bottom: 0px; } #steps-284 .cs-item:nth-of-type(4) .cs-item-text:before { height: 50%; border-radius: 0 0.5rem 0 0; border-bottom: none; top: -1px; } #steps-284 .cs-number { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; /* 15px - 24px */ margin-right: clamp(0.9375rem, 3vw, 1.5rem); /* 40px - 52px */ width: clamp(2.5rem, 5.1vw, 3.25rem); height: clamp(2.5rem, 5.1vw, 3.25rem); border-radius: 50%; border: 2px solid var(--primary); color: var(--headerColor); background-color: transparent; display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; } #steps-284 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; max-width: 18.75rem; /* 22px - 32px */ padding: clamp(1.375rem, 3vw, 2rem) 0; box-sizing: content-box; /* 15px - 24px */ padding-left: clamp(0.9375rem, 3vw, 1.5rem); position: relative; } #steps-284 .cs-item-text:before { /* Green line */ content: ""; width: 70%; height: 100%; border-radius: 0 0 0 0.5rem; border-left: 1px solid var(--primary); border-bottom: 1px solid var(--primary); box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 0; left: 0; } #steps-284 .cs-item-text:after { /* list circle */ content: ""; width: 0.5rem; height: 0.5rem; background: var(--primary); border-radius: 50%; border: 12px solid #fff; box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 50%; left: -0.9375rem; transform: translateY(-50%); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #steps-284 .cs-container { max-width: 69rem; flex-direction: row; justify-content: space-between; align-items: flex-start; column-gap: 2.75rem; } #steps-284 .cs-content { width: 50%; /* reset margin to play nice with flexbox */ margin: 0; } #steps-284 .cs-right-section { width: 57%; /* 20px - 25px - this pulls the section up so it's flush with the top of the left section, the padding top on the .cs-item-text is creating a gap at the top of the section. Wrapped in a calc() function to turn clamp() value into a negative number */ margin-top: calc(clamp(1.25rem, 2vw, 1.5625rem) * -1); } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #steps-284 .cs-title, body.dark-mode #steps-284 .cs-text, body.dark-mode #steps-284 .cs-number { color: var(--bodyTextColorWhite); } body.dark-mode #steps-284 .cs-item-text:after { border: 12px solid var(--dark); } }
/*-- -------------------------- --> <--- Steps --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #steps-284 { padding: var(--sectionPadding); .cs-container { width: 100%; /* changes to 1104px on tablet */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (434/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { margin-bottom: (16/16rem); &:last-of-type { margin-bottom: (32/16rem); } } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); border-radius: (4/16rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: (4/16rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-right-section { margin: 0; padding: 0; max-width: (562/16rem); } .cs-item { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:nth-of-type(1) { .cs-item-text { &:before { height: 50%; top: auto; bottom: -1px; } } } &:nth-of-type(2), &:nth-of-type(4) { justify-content: flex-end; text-align: right; .cs-number { /* Send number to the right */ order: 2; margin: 0; /* 15px - 24px */ margin-left: clamp(0.9375rem, 3vw, 1.5rem); } .cs-item-text { /* reverse padding */ padding-left: 0; /* 15px - 24px */ padding-right: clamp(0.9375rem, 3vw, 1.5rem); /* reset the border on the :before */ &:before { border-top: 1px solid var(--primary); border-left: none; border-right: 1px solid var(--primary); left: auto; right: 0; bottom: 0; border-radius: 0 (8/16rem) (8/16rem) 0; } &:after { /* move dot to the right now */ left: auto; right: (-15/16rem); } } } &:nth-of-type(3) { .cs-item-text { &:before { height: auto; border-top: 1px solid var(--primary); border-radius: (8/16rem) 0 0 (8/16rem); top: 1px; bottom: 0px; } } } &:nth-of-type(4) { .cs-item-text { &:before { height: 50%; border-radius: 0 (8/16rem) 0 0; border-bottom: none; top: -1px; } } } } .cs-number { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; /* 15px - 24px */ margin-right: clamp(0.9375rem, 3vw, 1.5rem); /* 40px - 52px */ width: clamp(2.5rem, 5.1vw, 3.25rem); height: clamp(2.5rem, 5.1vw, 3.25rem); border-radius: 50%; border: 2px solid var(--primary); color: var(--headerColor); background-color: transparent; display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; max-width: (300/16rem); /* 22px - 32px */ padding: clamp(1.375rem, 3vw, 2rem) 0; box-sizing: content-box; /* 15px - 24px */ padding-left: clamp(0.9375rem, 3vw, 1.5rem); position: relative; &:before { /* Green line */ content: ""; width: 70%; height: 100%; border-radius: 0 0 0 (8/16rem); border-left: 1px solid var(--primary); border-bottom: 1px solid var(--primary); box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* list circle */ content: ""; width: (8/16rem); height: (8/16rem); background: var(--primary); border-radius: 50%; border: 12px solid #fff; box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 50%; left: (-15/16rem); transform: translateY(-50%); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #steps-284 { .cs-container { max-width: (1104/16rem); flex-direction: row; justify-content: space-between; align-items: flex-start; column-gap: (44/16rem); } .cs-content { width: 50%; /* reset margin to play nice with flexbox */ margin: 0; } .cs-right-section { width: 57%; /* 20px - 25px - this pulls the section up so it's flush with the top of the left section, the padding top on the .cs-item-text is creating a gap at the top of the section. Wrapped in a calc() function to turn clamp() value into a negative number */ margin-top: ~"calc(clamp(1.25rem, 2vw, 1.5625rem) * -1)"; } } }
/*-- -------------------------- --> <--- Steps --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #steps-284 { padding: var(--sectionPadding); .cs-container { width: 100%; /* changes to 1104px on tablet */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (434/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { margin-bottom: (16/16rem); &:last-of-type { margin-bottom: (32/16rem); } } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); border-radius: (4/16rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: (4/16rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-right-section { margin: 0; padding: 0; max-width: (562/16rem); } .cs-item { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:nth-of-type(1) { .cs-item-text { &:before { height: 50%; top: auto; bottom: -1px; } } } &:nth-of-type(2), &:nth-of-type(4) { justify-content: flex-end; text-align: right; .cs-number { /* Send number to the right */ order: 2; margin: 0; /* 15px - 24px */ margin-left: clamp(0.9375rem, 3vw, 1.5rem); } .cs-item-text { /* reverse padding */ padding-left: 0; /* 15px - 24px */ padding-right: clamp(0.9375rem, 3vw, 1.5rem); /* reset the border on the :before */ &:before { border-top: 1px solid var(--primary); border-left: none; border-right: 1px solid var(--primary); left: auto; right: 0; bottom: 0; border-radius: 0 (8/16rem) (8/16rem) 0; } &:after { /* move dot to the right now */ left: auto; right: (-15/16rem); } } } &:nth-of-type(3) { .cs-item-text { &:before { height: auto; border-top: 1px solid var(--primary); border-radius: (8/16rem) 0 0 (8/16rem); top: 1px; bottom: 0px; } } } &:nth-of-type(4) { .cs-item-text { &:before { height: 50%; border-radius: 0 (8/16rem) 0 0; border-bottom: none; top: -1px; } } } } .cs-number { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; /* 15px - 24px */ margin-right: clamp(0.9375rem, 3vw, 1.5rem); /* 40px - 52px */ width: clamp(2.5rem, 5.1vw, 3.25rem); height: clamp(2.5rem, 5.1vw, 3.25rem); border-radius: 50%; border: 2px solid var(--primary); color: var(--headerColor); background-color: transparent; display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; max-width: (300/16rem); /* 22px - 32px */ padding: clamp(1.375rem, 3vw, 2rem) 0; box-sizing: content-box; /* 15px - 24px */ padding-left: clamp(0.9375rem, 3vw, 1.5rem); position: relative; &:before { /* Green line */ content: ""; width: 70%; height: 100%; border-radius: 0 0 0 (8/16rem); border-left: 1px solid var(--primary); border-bottom: 1px solid var(--primary); box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* list circle */ content: ""; width: (8/16rem); height: (8/16rem); background: var(--primary); border-radius: 50%; border: 12px solid #fff; box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 50%; left: (-15/16rem); transform: translateY(-50%); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #steps-284 { .cs-container { max-width: (1104/16rem); flex-direction: row; justify-content: space-between; align-items: flex-start; column-gap: (44/16rem); } .cs-content { width: 50%; /* reset margin to play nice with flexbox */ margin: 0; } .cs-right-section { width: 57%; /* 20px - 25px - this pulls the section up so it's flush with the top of the left section, the padding top on the .cs-item-text is creating a gap at the top of the section. Wrapped in a calc() function to turn clamp() value into a negative number */ margin-top: ~"calc(clamp(1.25rem, 2vw, 1.5625rem) * -1)"; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #steps-284 { .cs-title, .cs-text, .cs-number { color: var(--bodyTextColorWhite); } .cs-item-text { &:after { border: 12px solid var(--dark); } } } } }
/*-- -------------------------- --> <--- Steps --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #steps-284 { padding: var(--sectionPadding); .cs-container { width: 100%; /* changes to 1104px on tablet */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(434 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { margin-bottom: calc(16 / 16 * 1rem); &:last-of-type { margin-bottom: calc(32 / 16 * 1rem); } } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); border-radius: calc(4 / 16 * 1rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: calc(4 / 16 * 1rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-right-section { margin: 0; padding: 0; max-width: calc(562 / 16 * 1rem); } .cs-item { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:nth-of-type(1) { .cs-item-text { &:before { height: 50%; top: auto; bottom: -1px; } } } &:nth-of-type(2), &:nth-of-type(4) { justify-content: flex-end; text-align: right; .cs-number { /* Send number to the right */ order: 2; margin: 0; /* 15px - 24px */ margin-left: clamp(0.9375rem, 3vw, 1.5rem); } .cs-item-text { /* reverse padding */ padding-left: 0; /* 15px - 24px */ padding-right: clamp(0.9375rem, 3vw, 1.5rem); /* reset the border on the :before */ &:before { border-top: 1px solid var(--primary); border-left: none; border-right: 1px solid var(--primary); left: auto; right: 0; bottom: 0; border-radius: 0 calc(8 / 16 * 1rem) calc(8 / 16 * 1rem) 0; } &:after { /* move dot to the right now */ left: auto; right: calc(-15 / 16 * 1rem); } } } &:nth-of-type(3) { .cs-item-text { &:before { height: auto; border-top: 1px solid var(--primary); border-radius: calc(8 / 16 * 1rem) 0 0 calc(8 / 16 * 1rem); top: 1px; bottom: 0px; } } } &:nth-of-type(4) { .cs-item-text { &:before { height: 50%; border-radius: 0 calc(8 / 16 * 1rem) 0 0; border-bottom: none; top: -1px; } } } } .cs-number { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; /* 15px - 24px */ margin-right: clamp(0.9375rem, 3vw, 1.5rem); /* 40px - 52px */ width: clamp(2.5rem, 5.1vw, 3.25rem); height: clamp(2.5rem, 5.1vw, 3.25rem); border-radius: 50%; border: 2px solid var(--primary); color: var(--headerColor); background-color: transparent; display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; max-width: calc(300 / 16 * 1rem); /* 22px - 32px */ padding: clamp(1.375rem, 3vw, 2rem) 0; box-sizing: content-box; /* 15px - 24px */ padding-left: clamp(0.9375rem, 3vw, 1.5rem); position: relative; &:before { /* Green line */ content: ""; width: 70%; height: 100%; border-radius: 0 0 0 calc(8 / 16 * 1rem); border-left: 1px solid var(--primary); border-bottom: 1px solid var(--primary); box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* list circle */ content: ""; width: calc(8 / 16 * 1rem); height: calc(8 / 16 * 1rem); background: var(--primary); border-radius: 50%; border: 12px solid #fff; box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 50%; left: calc(-15 / 16 * 1rem); transform: translateY(-50%); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #steps-284 { .cs-container { max-width: calc(1104 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: flex-start; column-gap: calc(44 / 16 * 1rem); } .cs-content { width: 50%; /* reset margin to play nice with flexbox */ margin: 0; } .cs-right-section { width: 57%; /* 20px - 25px - this pulls the section up so it's flush with the top of the left section, the padding top on the .cs-item-text is creating a gap at the top of the section. Wrapped in a calc() function to turn clamp() value into a negative number */ margin-top: calc(clamp(1.25rem, 2vw, 1.5625rem) * -1); } } }
/*-- -------------------------- --> <--- Steps --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #steps-284 { padding: var(--sectionPadding); .cs-container { width: 100%; /* changes to 1104px on tablet */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(434 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { margin-bottom: calc(16 / 16 * 1rem); &:last-of-type { margin-bottom: calc(32 / 16 * 1rem); } } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); border-radius: calc(4 / 16 * 1rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: calc(4 / 16 * 1rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-right-section { margin: 0; padding: 0; max-width: calc(562 / 16 * 1rem); } .cs-item { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:nth-of-type(1) { .cs-item-text { &:before { height: 50%; top: auto; bottom: -1px; } } } &:nth-of-type(2), &:nth-of-type(4) { justify-content: flex-end; text-align: right; .cs-number { /* Send number to the right */ order: 2; margin: 0; /* 15px - 24px */ margin-left: clamp(0.9375rem, 3vw, 1.5rem); } .cs-item-text { /* reverse padding */ padding-left: 0; /* 15px - 24px */ padding-right: clamp(0.9375rem, 3vw, 1.5rem); /* reset the border on the :before */ &:before { border-top: 1px solid var(--primary); border-left: none; border-right: 1px solid var(--primary); left: auto; right: 0; bottom: 0; border-radius: 0 calc(8 / 16 * 1rem) calc(8 / 16 * 1rem) 0; } &:after { /* move dot to the right now */ left: auto; right: calc(-15 / 16 * 1rem); } } } &:nth-of-type(3) { .cs-item-text { &:before { height: auto; border-top: 1px solid var(--primary); border-radius: calc(8 / 16 * 1rem) 0 0 calc(8 / 16 * 1rem); top: 1px; bottom: 0px; } } } &:nth-of-type(4) { .cs-item-text { &:before { height: 50%; border-radius: 0 calc(8 / 16 * 1rem) 0 0; border-bottom: none; top: -1px; } } } } .cs-number { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; /* 15px - 24px */ margin-right: clamp(0.9375rem, 3vw, 1.5rem); /* 40px - 52px */ width: clamp(2.5rem, 5.1vw, 3.25rem); height: clamp(2.5rem, 5.1vw, 3.25rem); border-radius: 50%; border: 2px solid var(--primary); color: var(--headerColor); background-color: transparent; display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; max-width: calc(300 / 16 * 1rem); /* 22px - 32px */ padding: clamp(1.375rem, 3vw, 2rem) 0; box-sizing: content-box; /* 15px - 24px */ padding-left: clamp(0.9375rem, 3vw, 1.5rem); position: relative; &:before { /* Green line */ content: ""; width: 70%; height: 100%; border-radius: 0 0 0 calc(8 / 16 * 1rem); border-left: 1px solid var(--primary); border-bottom: 1px solid var(--primary); box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* list circle */ content: ""; width: calc(8 / 16 * 1rem); height: calc(8 / 16 * 1rem); background: var(--primary); border-radius: 50%; border: 12px solid #fff; box-sizing: content-box; opacity: 1; position: absolute; display: block; top: 50%; left: calc(-15 / 16 * 1rem); transform: translateY(-50%); } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #steps-284 { .cs-container { max-width: calc(1104 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: flex-start; column-gap: calc(44 / 16 * 1rem); } .cs-content { width: 50%; /* reset margin to play nice with flexbox */ margin: 0; } .cs-right-section { width: 57%; /* 20px - 25px - this pulls the section up so it's flush with the top of the left section, the padding top on the .cs-item-text is creating a gap at the top of the section. Wrapped in a calc() function to turn clamp() value into a negative number */ margin-top: calc(clamp(1.25rem, 2vw, 1.5625rem) * -1); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #steps-284 { .cs-title, .cs-text, .cs-number { color: var(--bodyTextColorWhite); } .cs-item-text { &:after { border: 12px solid 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