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)
6 Images
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
<!-- ============================================ --> <!-- Gallery --> <!-- ============================================ --> <section id="gallery-43"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Service</span> <h2 class="cs-title">Landscaping Services in Sometown, USA</h2> <p class="cs-text"> Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. </p> </div> <div class="cs-image-group"> <!-- Image 1 --> <a class="cs-item" href=""> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house1-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house1.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house1.jpg" alt="fancy house" width="346" height="346"> </picture> <!-- Hover Box --> <div class="cs-hover-box"> <picture class="cs-icon"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/orange-arrow-right.svg" alt="fancy house" width="20" height="20" aria-hidden="true"> </picture> <h3 class="cs-h3">Modern Architectual Design</h3> <p class="cs-hover-box-text"> Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. </p> </div> </a> <!-- Image 2 --> <a class="cs-item" href=""> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house2-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house2.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house2.jpg" alt="modern house" width="346" height="346"> </picture> <!-- Hover Box --> <div class="cs-hover-box"> <picture class="cs-icon"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/orange-arrow-right.svg" alt="fancy house" width="20" height="20" aria-hidden="true"> </picture> <h3 class="cs-h3">Modern Architectual Design</h3> <p class="cs-hover-box-text"> Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. </p> </div> </a> <!-- Image 3 --> <a class="cs-item" href=""> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house3-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house1.jpg"> <img aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house1.jpg" alt="modern home at night" width="346" height="346"> </picture> <!-- Hover Box --> <div class="cs-hover-box"> <picture class="cs-icon"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/orange-arrow-right.svg" alt="fancy house" width="20" height="20" aria-hidden="true"> </picture> <h3 class="cs-h3">Modern Architectual Design</h3> <p class="cs-hover-box-text"> Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. </p> </div> </a> <!-- Image 4 --> <a class="cs-item" href=""> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house4-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house4.jpg"> <img aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house4.jpg" alt="modern home" width="346" height="346"> </picture> <!-- Hover Box --> <div class="cs-hover-box"> <picture class="cs-icon"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/orange-arrow-right.svg" alt="fancy house" width="20" height="20" aria-hidden="true"> </picture> <h3 class="cs-h3">Modern Architectual Design</h3> <p class="cs-hover-box-text"> Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. </p> </div> </a> <!-- Image 5 --> <a class="cs-item" href=""> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house5-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house5.jpg"> <img aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house5.jpg" alt="appliance" width="346" height="346"> </picture> <!-- Hover Box --> <div class="cs-hover-box"> <picture class="cs-icon"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/orange-arrow-right.svg" alt="fancy house" width="20" height="20" aria-hidden="true"> </picture> <h3 class="cs-h3">Modern Architectual Design</h3> <p class="cs-hover-box-text"> Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. </p> </div> </a> <!-- Image 6 --> <a class="cs-item" href=""> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house6-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house6.jpg"> <img aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/house6.jpg" alt="modern home" width="346" height="346"> </picture> <!-- Hover Box --> <div class="cs-hover-box"> <picture class="cs-icon"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Gallery/orange-arrow-right.svg" alt="fancy house" width="20" height="20" aria-hidden="true"> </picture> <h3 class="cs-h3">Modern Architectual Design</h3> <p class="cs-hover-box-text"> Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. </p> </div> </a> </div> </div> </section>
/*-- -------------------------- --> <--- Gallery --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #gallery-43 { padding: var(--sectionPadding); position: relative; /* Prevents overflow from the image going off screen */ overflow: hidden; } #gallery-43 .cs-container { width: 100%; max-width: 69rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #gallery-43 .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; } #gallery-43 .cs-image-group { width: 100%; display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } #gallery-43 .cs-item { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; position: relative; display: block; } #gallery-43 .cs-item:hover .cs-hover-box { opacity: 1; } #gallery-43 .cs-item:hover .cs-icon { /* return to original position */ transform: rotateY(0); } #gallery-43 .cs-item:hover .cs-h3 { opacity: 1; /* Return to original position */ transform: translateY(0); } #gallery-43 .cs-item:hover .cs-hover-box-text { opacity: 1; /* Return to original position */ transform: translateY(0); } #gallery-43 .cs-picture { margin: auto; width: 100%; height: 100%; display: block; position: relative; } #gallery-43 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } #gallery-43 .cs-hover-box { text-align: center; width: 100%; height: 100%; padding: 1em; background-color: rgba(229, 87, 44, 0.9); opacity: 0; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; /* Prevents padding from contributing to height & width */ box-sizing: border-box; /* Sets stage for 3d transform animation */ perspective: 700px; top: 0; left: 0; z-index: 10; /* prevents mouse from being able to interact with these elements */ pointer-events: none; transition: opacity 0.3s; } #gallery-43 .cs-icon { /* 50px - 60px */ width: clamp(3.125rem, 5vw, 3.75rem); height: clamp(3.125rem, 5vw, 3.75rem); /* 16px - 32px */ margin-bottom: clamp(1rem, 5vw, 2rem); border-radius: 50%; background-color: #fff; outline: 0.5rem solid rgba(255, 255, 255, 0.7); /* Start with the icon box rotated 90deg */ transform: rotateY(90deg); position: relative; display: inline-flex; justify-content: center; align-items: center; flex: none; transition: transform 0.5s; } #gallery-43 .cs-icon img { width: 1.25rem; height: 1.25rem; } #gallery-43 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0 auto; max-width: 16.875rem; color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); margin-bottom: 0.5rem; transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.1s; } #gallery-43 .cs-hover-box-text { /* 13px - 16px */ font-size: clamp(0.8125rem, 1vw, 1rem); line-height: 1.5em; margin: 0 auto; max-width: 16.875rem; color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.2s; } } /* In Between - 600px */ @media only screen and (min-width: 37.5rem) { #gallery-43 .cs-image-group { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; } #gallery-43 .cs-item { grid-column: span 6; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #gallery-43 .cs-item { grid-column: span 4; } }
/*-- -------------------------- --> <--- Gallery --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #gallery-43 { padding: var(--sectionPadding); position: relative; /* Prevents overflow from the image going off screen */ overflow: hidden; } #gallery-43 .cs-container { width: 100%; max-width: 69rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #gallery-43 .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; } #gallery-43 .cs-image-group { width: 100%; display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } #gallery-43 .cs-item { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; position: relative; display: block; } #gallery-43 .cs-item:hover .cs-hover-box { opacity: 1; } #gallery-43 .cs-item:hover .cs-icon { /* return to original position */ transform: rotateY(0); } #gallery-43 .cs-item:hover .cs-h3 { opacity: 1; /* Return to original position */ transform: translateY(0); } #gallery-43 .cs-item:hover .cs-hover-box-text { opacity: 1; /* Return to original position */ transform: translateY(0); } #gallery-43 .cs-picture { margin: auto; width: 100%; height: 100%; display: block; position: relative; } #gallery-43 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } #gallery-43 .cs-hover-box { text-align: center; width: 100%; height: 100%; padding: 1em; background-color: rgba(229, 87, 44, 0.9); opacity: 0; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; /* Prevents padding from contributing to height & width */ box-sizing: border-box; /* Sets stage for 3d transform animation */ perspective: 700px; top: 0; left: 0; z-index: 10; /* prevents mouse from being able to interact with these elements */ pointer-events: none; transition: opacity 0.3s; } #gallery-43 .cs-icon { /* 50px - 60px */ width: clamp(3.125rem, 5vw, 3.75rem); height: clamp(3.125rem, 5vw, 3.75rem); /* 16px - 32px */ margin-bottom: clamp(1rem, 5vw, 2rem); border-radius: 50%; background-color: #fff; outline: 0.5rem solid rgba(255, 255, 255, 0.7); /* Start with the icon box rotated 90deg */ transform: rotateY(90deg); position: relative; display: inline-flex; justify-content: center; align-items: center; flex: none; transition: transform 0.5s; } #gallery-43 .cs-icon img { width: 1.25rem; height: 1.25rem; } #gallery-43 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0 auto; max-width: 16.875rem; color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); margin-bottom: 0.5rem; transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.1s; } #gallery-43 .cs-hover-box-text { /* 13px - 16px */ font-size: clamp(0.8125rem, 1vw, 1rem); line-height: 1.5em; margin: 0 auto; max-width: 16.875rem; color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.2s; } } /* In Between - 600px */ @media only screen and (min-width: 37.5rem) { #gallery-43 .cs-image-group { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; } #gallery-43 .cs-item { grid-column: span 6; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #gallery-43 .cs-item { grid-column: span 4; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #gallery-43 .cs-title, body.dark-mode #gallery-43 .cs-text { color: var(--bodyTextColorWhite); } body.dark-mode #gallery-43 .cs-text { opacity: 0.8; } }
/*-- -------------------------- --> <--- Gallery --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #gallery-43 { padding: var(--sectionPadding); position: relative; /* Prevents overflow from the image going off screen */ overflow: hidden; .cs-container { width: 100%; max-width: (1104/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-image-group { width: 100%; display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-item { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; position: relative; display: block; &:hover { .cs-hover-box { opacity: 1; } .cs-icon { /* return to original position */ transform: rotateY(0); } .cs-h3 { opacity: 1; /* Return to original position */ transform: translateY(0); } .cs-hover-box-text { opacity: 1; /* Return to original position */ transform: translateY(0); } } } .cs-picture { margin: auto; width: 100%; height: 100%; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-hover-box { text-align: center; width: 100%; height: 100%; padding: (16/16em); background-color: fade(#e5572c, 90%); opacity: 0; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; /* Prevents padding from contributing to height & width */ box-sizing: border-box; /* Sets stage for 3d transform animation */ perspective: 700px; top: 0; left: 0; z-index: 10; /* prevents mouse from being able to interact with these elements */ pointer-events: none; transition: opacity 0.3s; } .cs-icon { /* 50px - 60px */ width: clamp(3.125rem, 5vw, 3.75rem); height: clamp(3.125rem, 5vw, 3.75rem); /* 16px - 32px */ margin-bottom: clamp(1rem, 5vw, 2rem); border-radius: 50%; background-color: #fff; outline: (8/16rem) solid fade(#fff, 70%); /* Start with the icon box rotated 90deg */ transform: rotateY(90deg); position: relative; display: inline-flex; justify-content: center; align-items: center; flex: none; transition: transform 0.5s; img { width: (20/16rem); height: (20/16rem); } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0 auto; max-width: (270/16rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); margin-bottom: (8/16rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.1s; } .cs-hover-box-text { /* 13px - 16px */ font-size: clamp(0.8125rem, 1vw, 1rem); line-height: 1.5em; margin: 0 auto; max-width: (270/16rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.2s; } } } /* In Between - 600px */ @media only screen and (min-width: 37.5rem) { #gallery-43 { .cs-image-group { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; } .cs-item { grid-column: span 6; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #gallery-43 { .cs-item { grid-column: span 4; } } }
/*-- -------------------------- --> <--- Gallery --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #gallery-43 { padding: var(--sectionPadding); position: relative; /* Prevents overflow from the image going off screen */ overflow: hidden; .cs-container { width: 100%; max-width: (1104/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-image-group { width: 100%; display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-item { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; position: relative; display: block; &:hover { .cs-hover-box { opacity: 1; } .cs-icon { /* return to original position */ transform: rotateY(0); } .cs-h3 { opacity: 1; /* Return to original position */ transform: translateY(0); } .cs-hover-box-text { opacity: 1; /* Return to original position */ transform: translateY(0); } } } .cs-picture { margin: auto; width: 100%; height: 100%; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-hover-box { text-align: center; width: 100%; height: 100%; padding: (16/16em); background-color: fade(#e5572c, 90%); opacity: 0; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; /* Prevents padding from contributing to height & width */ box-sizing: border-box; /* Sets stage for 3d transform animation */ perspective: 700px; top: 0; left: 0; z-index: 10; /* prevents mouse from being able to interact with these elements */ pointer-events: none; transition: opacity 0.3s; } .cs-icon { /* 50px - 60px */ width: clamp(3.125rem, 5vw, 3.75rem); height: clamp(3.125rem, 5vw, 3.75rem); /* 16px - 32px */ margin-bottom: clamp(1rem, 5vw, 2rem); border-radius: 50%; background-color: #fff; outline: (8/16rem) solid fade(#fff, 70%); /* Start with the icon box rotated 90deg */ transform: rotateY(90deg); position: relative; display: inline-flex; justify-content: center; align-items: center; flex: none; transition: transform 0.5s; img { width: (20/16rem); height: (20/16rem); } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0 auto; max-width: (270/16rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); margin-bottom: (8/16rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.1s; } .cs-hover-box-text { /* 13px - 16px */ font-size: clamp(0.8125rem, 1vw, 1rem); line-height: 1.5em; margin: 0 auto; max-width: (270/16rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(0.625rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.2s; } } } /* In Between - 600px */ @media only screen and (min-width: 37.5rem) { #gallery-43 { .cs-image-group { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; } .cs-item { grid-column: span 6; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #gallery-43 { .cs-item { grid-column: span 4; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #gallery-43 { .cs-title, .cs-text { color: var(--bodyTextColorWhite); } .cs-text { opacity: 0.8; } } } }
/*-- -------------------------- --> <--- Gallery --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #gallery-43 { padding: var(--sectionPadding); position: relative; /* Prevents overflow from the image going off screen */ overflow: hidden; .cs-container { width: 100%; max-width: calc(1104 / 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-image-group { width: 100%; display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-item { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; position: relative; display: block; &:hover { .cs-hover-box { opacity: 1; } .cs-icon { /* return to original position */ transform: rotateY(0); } .cs-h3 { opacity: 1; /* Return to original position */ transform: translateY(0); } .cs-hover-box-text { opacity: 1; /* Return to original position */ transform: translateY(0); } } } .cs-picture { margin: auto; width: 100%; height: 100%; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-hover-box { text-align: center; width: 100%; height: 100%; padding: calc(16 / 16 * 1rem); background-color: rgba(229, 87, 44, 0.9); opacity: 0; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; /* Prevents padding from contributing to height & width */ box-sizing: border-box; /* Sets stage for 3d transform animation */ perspective: 700px; top: 0; left: 0; z-index: 10; /* prevents mouse from being able to interact with these elements */ pointer-events: none; transition: opacity 0.3s; } .cs-icon { /* 50px - 60px */ width: clamp(3.125rem, 5vw, 3.75rem); height: clamp(3.125rem, 5vw, 3.75rem); /* 16px - 32px */ margin-bottom: clamp(1rem, 5vw, 2rem); border-radius: 50%; background-color: #fff; outline: calc(8 / 16 * 1rem) solid fade(#fff, 70%); /* Start with the icon box rotated 90deg */ transform: rotateY(90deg); position: relative; display: inline-flex; justify-content: center; align-items: center; flex: none; transition: transform 0.5s; img { width: calc(20 / 16 * 1rem); height: calc(20 / 16 * 1rem); } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0 auto; max-width: calc(270 / 16 * 1rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(calc(10 / 16 * 1rem)); margin-bottom: calc(8 / 16 * 1rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.1s; } .cs-hover-box-text { /* 13px - 16px */ font-size: clamp(0.8125rem, 1vw, 1rem); line-height: 1.5em; margin: 0 auto; max-width: calc(270 / 16 * 1rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(calc(10 / 16 * 1rem)); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.2s; } } } /* In Between - 600px */ @media only screen and (min-width: 37.5rem) { #gallery-43 { .cs-image-group { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; } .cs-item { grid-column: span 6; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #gallery-43 { .cs-item { grid-column: span 4; } } }
/*-- -------------------------- --> <--- Gallery --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #gallery-43 { padding: var(--sectionPadding); position: relative; /* Prevents overflow from the image going off screen */ overflow: hidden; .cs-container { width: 100%; max-width: calc(1104 / 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-image-group { width: 100%; display: flex; flex-direction: column; align-items: center; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); } .cs-item { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; position: relative; display: block; &:hover { .cs-hover-box { opacity: 1; } .cs-icon { /* return to original position */ transform: rotateY(0); } .cs-h3 { opacity: 1; /* Return to original position */ transform: translateY(0); } .cs-hover-box-text { opacity: 1; /* Return to original position */ transform: translateY(0); } } } .cs-picture { margin: auto; width: 100%; height: 100%; display: block; position: relative; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } .cs-hover-box { text-align: center; width: 100%; height: 100%; padding: calc(16 / 16 * 1rem); background-color: rgba(229, 87, 44, 0.9); opacity: 0; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; /* Prevents padding from contributing to height & width */ box-sizing: border-box; /* Sets stage for 3d transform animation */ perspective: 700px; top: 0; left: 0; z-index: 10; /* prevents mouse from being able to interact with these elements */ pointer-events: none; transition: opacity 0.3s; } .cs-icon { /* 50px - 60px */ width: clamp(3.125rem, 5vw, 3.75rem); height: clamp(3.125rem, 5vw, 3.75rem); /* 16px - 32px */ margin-bottom: clamp(1rem, 5vw, 2rem); border-radius: 50%; background-color: #fff; outline: calc(8 / 16 * 1rem) solid fade(#fff, 70%); /* Start with the icon box rotated 90deg */ transform: rotateY(90deg); position: relative; display: inline-flex; justify-content: center; align-items: center; flex: none; transition: transform 0.5s; img { width: calc(20 / 16 * 1rem); height: calc(20 / 16 * 1rem); } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0 auto; max-width: calc(270 / 16 * 1rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(calc(10 / 16 * 1rem)); margin-bottom: calc(8 / 16 * 1rem); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.1s; } .cs-hover-box-text { /* 13px - 16px */ font-size: clamp(0.8125rem, 1vw, 1rem); line-height: 1.5em; margin: 0 auto; max-width: calc(270 / 16 * 1rem); color: #fff; /* make starting position down 10px and invisible */ opacity: 0; transform: translateY(calc(10 / 16 * 1rem)); transition: opacity 0.3s, transform 0.3s ease-out; transition-delay: 0.2s; } } } /* In Between - 600px */ @media only screen and (min-width: 37.5rem) { #gallery-43 { .cs-image-group { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; } .cs-item { grid-column: span 6; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #gallery-43 { .cs-item { grid-column: span 4; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #gallery-43 { .cs-title, .cs-text { color: var(--bodyTextColorWhite); } .cs-text { opacity: 0.8; } } } }
: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