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
(31)
Non Standard
(1)
Reverse
(9)
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)
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)
Recent Posts
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
<!-- ============================================ --> <!-- Recent Posts --> <!-- ============================================ --> <section id="blog-1347"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Our Blog</span> <h2 class="cs-title">Directly from The Latest News and Articles</h2> <p class="cs-text"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis quam eu elit lobortis ultrices. Nulla ut accumsan lorem, sed molestie justo. Praesent vehicula eleifend. </p> </div> <ul class="cs-card-group"> <li class="cs-item"> <a class="cs-link" href="/"> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-client.png"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-client.png"> <img decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-client.png" alt="agency" width="413" height="374" aria-hidden="true"> </picture> <div class="cs-item-text"> <h3 class="cs-h3"> Digital check list are you prepared for new year? <picture class="cs-icon-wrapper"> <img class="cs-icon" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/agency-arrow-upper-right.svg" alt="arrow" width="413" height="374" aria-hidden="true"> </picture> </h3> <div class="cs-info"> <span class="cs-date"> <img class="cs-date-icon" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/agency-calendar.svg" alt="calendar" width="413" height="374" aria-hidden="true"> 07 Sep, 2022 </span> <span class="cs-category"> Ecommerce </span> </div> </div> </a> </li> <li class="cs-item"> <a class="cs-link" href="/"> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-presentation.png"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-presentation.png"> <img decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-presentation.png" alt="agency" width="413" height="374" aria-hidden="true"> </picture> <div class="cs-item-text"> <h3 class="cs-h3"> Writing wordPress guides for beginner <picture class="cs-icon-wrapper"> <img class="cs-icon" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/agency-arrow-upper-right.svg" alt="arrow" width="413" height="374" aria-hidden="true"> </picture> </h3> <div class="cs-info"> <span class="cs-date"> <img class="cs-date-icon" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/agency-calendar.svg" alt="calendar" width="413" height="374" aria-hidden="true"> 07 Sep, 2022 </span> <span class="cs-category"> Ecommerce </span> </div> </div> </a> </li> <li class="cs-item"> <a class="cs-link" href="/"> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-laptops.png"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-laptops.png"> <img decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/agency-laptops.png" alt="agency" width="413" height="374" aria-hidden="true"> </picture> <div class="cs-item-text"> <h3 class="cs-h3"> Get a few solutions to hire a best candidate <picture class="cs-icon-wrapper"> <img class="cs-icon" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/agency-arrow-upper-right.svg" alt="arrow" width="413" height="374" aria-hidden="true"> </picture> </h3> <div class="cs-info"> <span class="cs-date"> <img class="cs-date-icon" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/agency-calendar.svg" alt="calendar" width="413" height="374" aria-hidden="true"> 07 Sep, 2022 </span> <span class="cs-category"> Digital Agency </span> </div> </div> </a> </li> </ul> </div> <div class="cs-bubbles" aria-hidden="true"></div> </section>
/*-- -------------------------- --> <--- Recent Posts --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #blog-1347 { padding: var(--sectionPadding); position: relative; z-index: 1; overflow: hidden; } #blog-1347 .cs-container { width: 100%; /* changes to 1280px on desktop */ max-width: 43.75rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #blog-1347 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #blog-1347 .cs-title { max-width: 20ch; } #blog-1347 .cs-topper { color: var(--secondary); } #blog-1347 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; } #blog-1347 .cs-item { list-style: none; display: flex; flex-direction: column; grid-column: span 12; } #blog-1347 .cs-item:hover .cs-h3, #blog-1347 .cs-item:hover .cs-date, #blog-1347 .cs-item:hover .cs-category { color: #fff; } #blog-1347 .cs-item:hover .cs-item-text { background-color: var(--primary); } #blog-1347 .cs-item:hover .cs-icon-wrapper { border-color: #fff; } #blog-1347 .cs-item:hover .cs-icon, #blog-1347 .cs-item:hover .cs-date-icon { filter: brightness(1000%) grayscale(1); } #blog-1347 .cs-item:hover .cs-icon { transform: rotate(45deg); } #blog-1347 .cs-item:hover .cs-category::before { background-color: #fff; opacity: 0.2; } #blog-1347 .cs-link { text-decoration: none; display: flex; flex-direction: column; /* if one card has more content then the others, the card will stretch to fill the parent container */ flex-grow: 1; gap: 1rem; } #blog-1347 .cs-picture { width: 100%; height: 20rem; margin: 0; border-radius: 1.5rem; display: block; position: relative; z-index: 1; overflow: hidden; } #blog-1347 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #blog-1347 .cs-item-text { padding: 1.25rem; background-color: #f7f7f7; border-radius: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; /* makes the item text the element that grows to fill the container */ flex-grow: 1; transition: background-color 0.3s; } #blog-1347 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 1.8vw, 1.5625rem); line-height: 1.2em; text-align: left; margin: 0; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color 0.3s; } #blog-1347 .cs-icon-wrapper { width: 3rem; height: 3rem; border: 1px solid #bababa; border-radius: 50%; display: flex; justify-content: center; align-items: center; /* prevents the parent flexbox from shrinking the icon */ flex-shrink: 0; transition: border-color 0.3s; } #blog-1347 .cs-icon { width: auto; height: 0.75rem; transition: filter 0.3s, transform 0.3s; } #blog-1347 .cs-info { margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; } #blog-1347 .cs-date { font-size: 0.875rem; line-height: 1.5em; text-align: left; color: #1a1a1a; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; } #blog-1347 .cs-date-icon { width: auto; height: 1.5rem; transition: filter 0.3s; } #blog-1347 .cs-category { font-size: 0.875rem; /* centers the text if the category bullet has to span multiple lines */ text-align: center; padding: 0.25rem 1rem; color: #1a1a1a; border-radius: 5rem; position: relative; z-index: 0; overflow: hidden; } #blog-1347 .cs-category::before { content: ""; width: 100%; height: 100%; background: #e8e8e8; position: absolute; top: 0; left: 0; z-index: -1; } #blog-1347 .cs-bubbles { width: 20.0625rem; height: 26.4375rem; display: none; position: absolute; top: 66.4375rem; right: -8.75rem; z-index: -1; } #blog-1347 .cs-bubbles:before { /* white border bubble */ content: ""; width: 16.5rem; height: 16.5rem; background: transparent; opacity: 1; border: 1px solid #1a1a1a; border-radius: 50%; display: block; position: absolute; top: 0; right: 0; animation-name: floatAnimation; animation-duration: 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } #blog-1347 .cs-bubbles:after { /* orange bubble */ content: ""; width: 16.5rem; height: 16.5rem; background: var(--primary); opacity: 0.1; border-radius: 50%; display: block; position: absolute; bottom: 0; left: 0; z-index: -1; animation-name: floatAnimation2; animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #blog-1347 .cs-bubbles { display: block; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #blog-1347 .cs-container { max-width: 80rem; } #blog-1347 .cs-item { grid-column: span 4; } #blog-1347 .cs-bubbles { top: 17.5625rem; } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #blog-1347 .cs-bubbles { margin-right: -61.875rem; right: 50%; } }
/*-- -------------------------- --> <--- Recent Posts --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #blog-1347 { padding: var(--sectionPadding); position: relative; z-index: 1; overflow: hidden; } #blog-1347 .cs-container { width: 100%; /* changes to 1280px on desktop */ max-width: 43.75rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #blog-1347 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #blog-1347 .cs-title { max-width: 20ch; } #blog-1347 .cs-topper { color: var(--secondary); } #blog-1347 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; } #blog-1347 .cs-item { list-style: none; display: flex; flex-direction: column; grid-column: span 12; } #blog-1347 .cs-item:hover .cs-h3, #blog-1347 .cs-item:hover .cs-date, #blog-1347 .cs-item:hover .cs-category { color: #fff; } #blog-1347 .cs-item:hover .cs-item-text { background-color: var(--primary); } #blog-1347 .cs-item:hover .cs-icon-wrapper { border-color: #fff; } #blog-1347 .cs-item:hover .cs-icon, #blog-1347 .cs-item:hover .cs-date-icon { filter: brightness(1000%) grayscale(1); } #blog-1347 .cs-item:hover .cs-icon { transform: rotate(45deg); } #blog-1347 .cs-item:hover .cs-category::before { background-color: #fff; opacity: 0.2; } #blog-1347 .cs-link { text-decoration: none; display: flex; flex-direction: column; /* if one card has more content then the others, the card will stretch to fill the parent container */ flex-grow: 1; gap: 1rem; } #blog-1347 .cs-picture { width: 100%; height: 20rem; margin: 0; border-radius: 1.5rem; display: block; position: relative; z-index: 1; overflow: hidden; } #blog-1347 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #blog-1347 .cs-item-text { padding: 1.25rem; background-color: #f7f7f7; border-radius: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; /* makes the item text the element that grows to fill the container */ flex-grow: 1; transition: background-color 0.3s; } #blog-1347 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 1.8vw, 1.5625rem); line-height: 1.2em; text-align: left; margin: 0; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color 0.3s; } #blog-1347 .cs-icon-wrapper { width: 3rem; height: 3rem; border: 1px solid #bababa; border-radius: 50%; display: flex; justify-content: center; align-items: center; /* prevents the parent flexbox from shrinking the icon */ flex-shrink: 0; transition: border-color 0.3s; } #blog-1347 .cs-icon { width: auto; height: 0.75rem; transition: filter 0.3s, transform 0.3s; } #blog-1347 .cs-info { margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; } #blog-1347 .cs-date { font-size: 0.875rem; line-height: 1.5em; text-align: left; color: #1a1a1a; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; } #blog-1347 .cs-date-icon { width: auto; height: 1.5rem; transition: filter 0.3s; } #blog-1347 .cs-category { font-size: 0.875rem; /* centers the text if the category bullet has to span multiple lines */ text-align: center; padding: 0.25rem 1rem; color: #1a1a1a; border-radius: 5rem; position: relative; z-index: 0; overflow: hidden; } #blog-1347 .cs-category::before { content: ""; width: 100%; height: 100%; background: #e8e8e8; position: absolute; top: 0; left: 0; z-index: -1; } #blog-1347 .cs-bubbles { width: 20.0625rem; height: 26.4375rem; display: none; position: absolute; top: 66.4375rem; right: -8.75rem; z-index: -1; } #blog-1347 .cs-bubbles:before { /* white border bubble */ content: ""; width: 16.5rem; height: 16.5rem; background: transparent; opacity: 1; border: 1px solid #1a1a1a; border-radius: 50%; display: block; position: absolute; top: 0; right: 0; animation-name: floatAnimation; animation-duration: 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } #blog-1347 .cs-bubbles:after { /* orange bubble */ content: ""; width: 16.5rem; height: 16.5rem; background: var(--primary); opacity: 0.1; border-radius: 50%; display: block; position: absolute; bottom: 0; left: 0; z-index: -1; animation-name: floatAnimation2; animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #blog-1347 .cs-bubbles { display: block; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #blog-1347 .cs-container { max-width: 80rem; } #blog-1347 .cs-item { grid-column: span 4; } #blog-1347 .cs-bubbles { top: 17.5625rem; } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #blog-1347 .cs-bubbles { margin-right: -61.875rem; right: 50%; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #blog-1347 .cs-topper { color: var(--primaryLight); } body.dark-mode #blog-1347 .cs-title, body.dark-mode #blog-1347 .cs-text, body.dark-mode #blog-1347 .cs-h3, body.dark-mode #blog-1347 .cs-date, body.dark-mode #blog-1347 .cs-category { color: var(--bodyTextColorWhite); } body.dark-mode #blog-1347 .cs-text, body.dark-mode #blog-1347 .cs-date, body.dark-mode #blog-1347 .cs-category { opacity: 0.8; } body.dark-mode #blog-1347 .cs-item-text { background-color: var(--medium); } body.dark-mode #blog-1347 .cs-category::before { background-color: var(--accent); } }
/*-- -------------------------- --> <--- Recent Posts --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #blog-1347 { padding: var(--sectionPadding); position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; /* changes to 1280px on desktop */ max-width: (700/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: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 20ch; } .cs-topper { color: var(--secondary); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: (16/16rem); } .cs-item { list-style: none; display: flex; flex-direction: column; grid-column: span 12; &:hover { .cs-h3, .cs-date, .cs-category { color: #fff; } .cs-item-text { background-color: var(--primary); } .cs-icon-wrapper { border-color: #fff; } .cs-icon, .cs-date-icon { filter: brightness(1000%) grayscale(1); } .cs-icon { transform: rotate(45deg); } .cs-category { &::before { background-color: #fff; opacity: 0.2; } } } } .cs-link { text-decoration: none; display: flex; flex-direction: column; /* if one card has more content then the others, the card will stretch to fill the parent container */ flex-grow: 1; gap: (16/16rem); } .cs-picture { width: 100%; height: (320/16rem); margin: 0; border-radius: (24/16rem); display: block; position: relative; z-index: 1; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-item-text { padding: (20/16rem); background-color: #f7f7f7; border-radius: (24/16rem); display: flex; flex-direction: column; justify-content: space-between; /* makes the item text the element that grows to fill the container */ flex-grow: 1; transition: background-color 0.3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 1.8vw, 1.5625rem); line-height: 1.2em; text-align: left; margin: 0; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: (16/16rem); transition: color 0.3s; } .cs-icon-wrapper { width: (48/16rem); height: (48/16rem); border: 1px solid #bababa; border-radius: 50%; display: flex; justify-content: center; align-items: center; /* prevents the parent flexbox from shrinking the icon */ flex-shrink: 0; transition: border-color 0.3s; } .cs-icon { width: auto; height: (12/16rem); transition: filter 0.3s, transform 0.3s; } .cs-info { margin: (16/16rem) 0 0; padding: (16/16rem) 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; } .cs-date { font-size: (14/16rem); line-height: 1.5em; text-align: left; color: #1a1a1a; display: flex; align-items: center; gap: (8/16rem); transition: color 0.3s; } .cs-date-icon { width: auto; height: (24/16rem); transition: filter 0.3s; } .cs-category { font-size: (14/16rem); /* centers the text if the category bullet has to span multiple lines */ text-align: center; padding: (4/16rem) (16/16rem); color: #1a1a1a; border-radius: (80/16rem); position: relative; z-index: 0; overflow: hidden; &::before { content: ""; width: 100%; height: 100%; background: #e8e8e8; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-bubbles { width: (321/16rem); height: (423/16rem); display: none; position: absolute; top: (1063/16rem); right: (-140/16rem); z-index: -1; &:before { /* white border bubble */ content: ""; width: (264/16rem); height: (264/16rem); background: transparent; opacity: 1; border: 1px solid #1a1a1a; border-radius: 50%; display: block; position: absolute; top: 0; right: 0; animation-name: floatAnimation; animation-duration: 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } &:after { /* orange bubble */ content: ""; width: (264/16rem); height: (264/16rem); background: var(--primary); opacity: 0.1; border-radius: 50%; display: block; position: absolute; bottom: 0; left: 0; z-index: -1; animation-name: floatAnimation2; animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #blog-1347 { .cs-bubbles { display: block; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #blog-1347 { .cs-container { max-width: (1280/16rem); } .cs-item { grid-column: span 4; } .cs-bubbles { top: (281/16rem); } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #blog-1347 { .cs-bubbles { margin-right: (-990/16rem); right: 50%; } } }
/*-- -------------------------- --> <--- Recent Posts --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #blog-1347 { padding: var(--sectionPadding); position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; /* changes to 1280px on desktop */ max-width: (700/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: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 20ch; } .cs-topper { color: var(--secondary); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: (16/16rem); } .cs-item { list-style: none; display: flex; flex-direction: column; grid-column: span 12; &:hover { .cs-h3, .cs-date, .cs-category { color: #fff; } .cs-item-text { background-color: var(--primary); } .cs-icon-wrapper { border-color: #fff; } .cs-icon, .cs-date-icon { filter: brightness(1000%) grayscale(1); } .cs-icon { transform: rotate(45deg); } .cs-category { &::before { background-color: #fff; opacity: 0.2; } } } } .cs-link { text-decoration: none; display: flex; flex-direction: column; /* if one card has more content then the others, the card will stretch to fill the parent container */ flex-grow: 1; gap: (16/16rem); } .cs-picture { width: 100%; height: (320/16rem); margin: 0; border-radius: (24/16rem); display: block; position: relative; z-index: 1; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-item-text { padding: (20/16rem); background-color: #f7f7f7; border-radius: (24/16rem); display: flex; flex-direction: column; justify-content: space-between; /* makes the item text the element that grows to fill the container */ flex-grow: 1; transition: background-color 0.3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 1.8vw, 1.5625rem); line-height: 1.2em; text-align: left; margin: 0; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: (16/16rem); transition: color 0.3s; } .cs-icon-wrapper { width: (48/16rem); height: (48/16rem); border: 1px solid #bababa; border-radius: 50%; display: flex; justify-content: center; align-items: center; /* prevents the parent flexbox from shrinking the icon */ flex-shrink: 0; transition: border-color 0.3s; } .cs-icon { width: auto; height: (12/16rem); transition: filter 0.3s, transform 0.3s; } .cs-info { margin: (16/16rem) 0 0; padding: (16/16rem) 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; } .cs-date { font-size: (14/16rem); line-height: 1.5em; text-align: left; color: #1a1a1a; display: flex; align-items: center; gap: (8/16rem); transition: color 0.3s; } .cs-date-icon { width: auto; height: (24/16rem); transition: filter 0.3s; } .cs-category { font-size: (14/16rem); /* centers the text if the category bullet has to span multiple lines */ text-align: center; padding: (4/16rem) (16/16rem); color: #1a1a1a; border-radius: (80/16rem); position: relative; z-index: 0; overflow: hidden; &::before { content: ""; width: 100%; height: 100%; background: #e8e8e8; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-bubbles { width: (321/16rem); height: (423/16rem); display: none; position: absolute; top: (1063/16rem); right: (-140/16rem); z-index: -1; &:before { /* white border bubble */ content: ""; width: (264/16rem); height: (264/16rem); background: transparent; opacity: 1; border: 1px solid #1a1a1a; border-radius: 50%; display: block; position: absolute; top: 0; right: 0; animation-name: floatAnimation; animation-duration: 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } &:after { /* orange bubble */ content: ""; width: (264/16rem); height: (264/16rem); background: var(--primary); opacity: 0.1; border-radius: 50%; display: block; position: absolute; bottom: 0; left: 0; z-index: -1; animation-name: floatAnimation2; animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #blog-1347 { .cs-bubbles { display: block; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #blog-1347 { .cs-container { max-width: (1280/16rem); } .cs-item { grid-column: span 4; } .cs-bubbles { top: (281/16rem); } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #blog-1347 { .cs-bubbles { margin-right: (-990/16rem); right: 50%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #blog-1347 { .cs-topper { color: var(--primaryLight); } .cs-title, .cs-text, .cs-h3, .cs-date, .cs-category { color: var(--bodyTextColorWhite); } .cs-text, .cs-date, .cs-category { opacity: 0.8; } .cs-item-text { background-color: var(--medium); } .cs-category { &::before { background-color: var(--accent); } } } } }
/*-- -------------------------- --> <--- Recent Posts --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #blog-1347 { padding: var(--sectionPadding); position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; /* changes to 1280px on desktop */ max-width: calc(700 / 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: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 20ch; } .cs-topper { color: var(--secondary); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: calc(16 / 16 * 1rem); } .cs-item { list-style: none; display: flex; flex-direction: column; grid-column: span 12; &:hover { .cs-h3, .cs-date, .cs-category { color: #fff; } .cs-item-text { background-color: var(--primary); } .cs-icon-wrapper { border-color: #fff; } .cs-icon, .cs-date-icon { filter: brightness(1000%) grayscale(1); } .cs-icon { transform: rotate(45deg); } .cs-category { &::before { background-color: #fff; opacity: 0.2; } } } } .cs-link { text-decoration: none; display: flex; flex-direction: column; /* if one card has more content then the others, the card will stretch to fill the parent container */ flex-grow: 1; gap: calc(16 / 16 * 1rem); } .cs-picture { width: 100%; height: calc(320 / 16 * 1rem); margin: 0; border-radius: calc(24 / 16 * 1rem); display: block; position: relative; z-index: 1; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-item-text { padding: calc(20 / 16 * 1rem); background-color: #f7f7f7; border-radius: calc(24 / 16 * 1rem); display: flex; flex-direction: column; justify-content: space-between; /* makes the item text the element that grows to fill the container */ flex-grow: 1; transition: background-color 0.3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 1.8vw, 1.5625rem); line-height: 1.2em; text-align: left; margin: 0; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: calc(16 / 16 * 1rem); transition: color 0.3s; } .cs-icon-wrapper { width: calc(48 / 16 * 1rem); height: calc(48 / 16 * 1rem); border: 1px solid #bababa; border-radius: 50%; display: flex; justify-content: center; align-items: center; /* prevents the parent flexbox from shrinking the icon */ flex-shrink: 0; transition: border-color 0.3s; } .cs-icon { width: auto; height: calc(12 / 16 * 1rem); transition: filter 0.3s, transform 0.3s; } .cs-info { margin: calc(16 / 16 * 1rem) 0 0; padding: calc(16 / 16 * 1rem) 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; } .cs-date { font-size: calc(14 / 16 * 1rem); line-height: 1.5em; text-align: left; color: #1a1a1a; display: flex; align-items: center; gap: calc(8 / 16 * 1rem); transition: color 0.3s; } .cs-date-icon { width: auto; height: calc(24 / 16 * 1rem); transition: filter 0.3s; } .cs-category { font-size: calc(14 / 16 * 1rem); /* centers the text if the category bullet has to span multiple lines */ text-align: center; padding: calc(4 / 16 * 1rem) calc(16 / 16 * 1rem); color: #1a1a1a; border-radius: calc(80 / 16 * 1rem); position: relative; z-index: 0; overflow: hidden; &::before { content: ""; width: 100%; height: 100%; background: #e8e8e8; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-bubbles { width: calc(321 / 16 * 1rem); height: calc(423 / 16 * 1rem); display: none; position: absolute; top: calc(1063 / 16 * 1rem); right: calc(-140 / 16 * 1rem); z-index: -1; &:before { /* white border bubble */ content: ""; width: calc(264 / 16 * 1rem); height: calc(264 / 16 * 1rem); background: transparent; opacity: 1; border: 1px solid #1a1a1a; border-radius: 50%; display: block; position: absolute; top: 0; right: 0; animation-name: floatAnimation; animation-duration: 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } &:after { /* orange bubble */ content: ""; width: calc(264 / 16 * 1rem); height: calc(264 / 16 * 1rem); background: var(--primary); opacity: 0.1; border-radius: 50%; display: block; position: absolute; bottom: 0; left: 0; z-index: -1; animation-name: floatAnimation2; animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #blog-1347 { .cs-bubbles { display: block; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #blog-1347 { .cs-container { max-width: calc(1280 / 16 * 1rem); } .cs-item { grid-column: span 4; } .cs-bubbles { top: calc(281 / 16 * 1rem); } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #blog-1347 { .cs-bubbles { margin-right: calc(-990 / 16 * 1rem); right: 50%; } } }
/*-- -------------------------- --> <--- Recent Posts --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #blog-1347 { padding: var(--sectionPadding); position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; /* changes to 1280px on desktop */ max-width: calc(700 / 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: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 20ch; } .cs-topper { color: var(--secondary); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: calc(16 / 16 * 1rem); } .cs-item { list-style: none; display: flex; flex-direction: column; grid-column: span 12; &:hover { .cs-h3, .cs-date, .cs-category { color: #fff; } .cs-item-text { background-color: var(--primary); } .cs-icon-wrapper { border-color: #fff; } .cs-icon, .cs-date-icon { filter: brightness(1000%) grayscale(1); } .cs-icon { transform: rotate(45deg); } .cs-category { &::before { background-color: #fff; opacity: 0.2; } } } } .cs-link { text-decoration: none; display: flex; flex-direction: column; /* if one card has more content then the others, the card will stretch to fill the parent container */ flex-grow: 1; gap: calc(16 / 16 * 1rem); } .cs-picture { width: 100%; height: calc(320 / 16 * 1rem); margin: 0; border-radius: calc(24 / 16 * 1rem); display: block; position: relative; z-index: 1; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-item-text { padding: calc(20 / 16 * 1rem); background-color: #f7f7f7; border-radius: calc(24 / 16 * 1rem); display: flex; flex-direction: column; justify-content: space-between; /* makes the item text the element that grows to fill the container */ flex-grow: 1; transition: background-color 0.3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 1.8vw, 1.5625rem); line-height: 1.2em; text-align: left; margin: 0; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: calc(16 / 16 * 1rem); transition: color 0.3s; } .cs-icon-wrapper { width: calc(48 / 16 * 1rem); height: calc(48 / 16 * 1rem); border: 1px solid #bababa; border-radius: 50%; display: flex; justify-content: center; align-items: center; /* prevents the parent flexbox from shrinking the icon */ flex-shrink: 0; transition: border-color 0.3s; } .cs-icon { width: auto; height: calc(12 / 16 * 1rem); transition: filter 0.3s, transform 0.3s; } .cs-info { margin: calc(16 / 16 * 1rem) 0 0; padding: calc(16 / 16 * 1rem) 0 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; } .cs-date { font-size: calc(14 / 16 * 1rem); line-height: 1.5em; text-align: left; color: #1a1a1a; display: flex; align-items: center; gap: calc(8 / 16 * 1rem); transition: color 0.3s; } .cs-date-icon { width: auto; height: calc(24 / 16 * 1rem); transition: filter 0.3s; } .cs-category { font-size: calc(14 / 16 * 1rem); /* centers the text if the category bullet has to span multiple lines */ text-align: center; padding: calc(4 / 16 * 1rem) calc(16 / 16 * 1rem); color: #1a1a1a; border-radius: calc(80 / 16 * 1rem); position: relative; z-index: 0; overflow: hidden; &::before { content: ""; width: 100%; height: 100%; background: #e8e8e8; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-bubbles { width: calc(321 / 16 * 1rem); height: calc(423 / 16 * 1rem); display: none; position: absolute; top: calc(1063 / 16 * 1rem); right: calc(-140 / 16 * 1rem); z-index: -1; &:before { /* white border bubble */ content: ""; width: calc(264 / 16 * 1rem); height: calc(264 / 16 * 1rem); background: transparent; opacity: 1; border: 1px solid #1a1a1a; border-radius: 50%; display: block; position: absolute; top: 0; right: 0; animation-name: floatAnimation; animation-duration: 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } &:after { /* orange bubble */ content: ""; width: calc(264 / 16 * 1rem); height: calc(264 / 16 * 1rem); background: var(--primary); opacity: 0.1; border-radius: 50%; display: block; position: absolute; bottom: 0; left: 0; z-index: -1; animation-name: floatAnimation2; animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: forwards; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #blog-1347 { .cs-bubbles { display: block; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #blog-1347 { .cs-container { max-width: calc(1280 / 16 * 1rem); } .cs-item { grid-column: span 4; } .cs-bubbles { top: calc(281 / 16 * 1rem); } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #blog-1347 { .cs-bubbles { margin-right: calc(-990 / 16 * 1rem); right: 50%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #blog-1347 { .cs-topper { color: var(--primaryLight); } .cs-title, .cs-text, .cs-h3, .cs-date, .cs-category { color: var(--bodyTextColorWhite); } .cs-text, .cs-date, .cs-category { opacity: 0.8; } .cs-item-text { background-color: var(--medium); } .cs-category { &::before { background-color: var(--accent); } } } } }
: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