3D Print Gallery


.gal_wrapper { display: flex; flex-direction: row; justify-content: center; align-items: center; margin: 3rem auto; } .text { order: -1; flex-basis: 24rem; font-size: 3rem; text-align: center; line-height: 3rem; padding-right: 5rem; } .gal_images { position: relative; flex-basis: 77rem; text-align: center; } .gal_images img { position: relative; width: 18.75rem; height: 12.5rem; border: 1px solid rgba(0, 0, 0, 0.1); filter: grayscale(40%); opacity: 1; transition: 0.4s ease; } .gal_images img:hover { cursor: pointer; filter: grayscale(0%) brightness(1); opacity: 1; box-shadow: 0 0 2px 0px black; } .gal_images img.zoom { transform: scale(1.2); filter: grayscale(0%); border: none; z-index: 99; } .gal_img { object-fit: cover; } @media screen and (max-width: 1000px) { .gal_images img { position: relative; width: 100%; height: 17.5rem; border: 1px solid rgba(0, 0, 0, 0.1); opacity: 1; transition: 0.4s ease; } } @media screen and (min-width: 801px) and (max-width: 1337px) { .gal_images img { width: 16.5rem !important; margin-left: 1rem !important; } .gal_images img { flex-basis: 54rem !important; } } @media screen and (max-width: 800px) and (min-width: 700px) { .gal_images img { width: 19rem !important; margin-left: 3rem !important; } } @media screen and (max-width: 699px) and (min-width: 480px) { .gal_images img { width: 90% !important; margin-left: 5% !important; } .gal_images { position: relative; flex-basis: 45rem; } }
document.querySelectorAll(".gal_img").forEach((el) => { el.addEventListener("click", (e) => { e.target.classList.add("zoom"); }); }); document.querySelectorAll(".gal_img").forEach((el) => { el.addEventListener("mouseleave", (e) => { e.target.classList.remove("zoom"); }); });
.parent { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: 1fr !important; grid-column-gap: 10px !important; grid-row-gap: 0px !important; } .div1 { grid-area: 1 / 1 / 2 / 2 !important; } .div2 { grid-area: 1 / 2 / 2 / 3 !important; }
https://3dskai.com/wp-content/uploads/2022/07/cropped-C32BEC5B-8483-469C-AA65-681016C0E82D.png
SUBSCRIBE NOW


    .footer { position: absolute; bottom: 0; left: 0; right: 0; background: transparent; color: rgb(150,150,150); font-weight: 500; display: flex; justify-content: center; align-items: center; gap: 0.3rem; font-size: 12px; } let year = document.querySelector("#year"); year.innerText = new Date().getFullYear();