Copy Protection Only

Amazing Sections to View Your Services

Share this post on:

Code Implementation

If you own a car detailing business, you can showcase your tools and services in a visually appealing way using HTML and CSS. Below is an example code snippet to create a responsive section displaying your equipment.

1.html code

</p><h1 class="wp-block-heading" id="title">Amazing Tools & Equipment</h1><h3 class="wp-block-heading">High-Pressure Washers</h3><p>Advanced washers with minimal water usage but powerful flow.</p><figure class="wp-block-image"><img src="https://images.pexels.com/photos/2127733/pexels-photo-2127733.jpeg" alt="High-Pressure Washer"/></figure><h3 class="wp-block-heading">Vacuum Cleaners</h3><p>High-powered vacuums with special attachments for deep cleaning.</p><figure class="wp-block-image"><img src="https://images.pexels.com/photos/244206/pexels-photo-244206.jpeg" alt="Vacuum Cleaner"/></figure><h3 class="wp-block-heading">Polishing Machines</h3><p>Advanced orbital polishers to restore car shine.</p><figure class="wp-block-image"><img src="https://images.pexels.com/photos/1082655/pexels-photo-1082655.jpeg" alt="Polishing Machine"/></figure><p>

2.Css Code

</p><p>*,<br>*::before,<br>*::after {<br>box-sizing: border-box;<br>margin: 0;<br>padding: 0;<br>}<br>html {<br>scroll-behavior: smooth;<br>}<br>body {<br>font-family: “Caesar Dressing”, system-ui;<br>font-family: “Nova Square”, sans-serif;<br>font-family: “Poppins”, sans-serif;<br>font-family: “Roboto”, sans-serif;<br>}<br>:root {<br>–transition: 0.3s;<br>–main-color: #e23535;<br>–alt-main-color: #bf0000;<br>–second-color: #7b66ff;<br>–alt-second-color: #5a40ff;<br>}</p><h1 class="wp-block-heading">title {</h1><p>width: fit-content;<br>margin: 0 auto 60px;<br>font-weight: 600;<br>position: relative;<br>}</p><h1 class="wp-block-heading">title::after {</h1><p>content: “”;<br>background: var(–main-color);<br>width: 80%;<br>height: 5px;<br>position: absolute;<br>bottom: -10px;<br>left: 50%;<br>transform: translateX(-50%);<br>border-radius: 6px;<br>}</p><h1 class="wp-block-heading">title:hover::after {</h1><p>width: 100%;<br>transition: var(–transition);<br>}<br>/* Global settings ⬆️<em>/ /</em> Container Media ⬇️*/<br>.container {<br>width: 100%;<br>margin-right: auto;<br>margin-left: auto;<br>padding-left: 0.5rem;<br>padding-right: 0.5rem;<br>}</p><p>/* xs <em>/ @media (min-width: 475px) { .container { max-width: 475px; } } /</em> sm <em>/ @media (min-width: 640px) { .container { max-width: 640px; } } /</em> md <em>/ @media (min-width: 768px) { .container { max-width: 768px; } } /</em> lg <em>/ @media (min-width: 1024px) { .container { max-width: 1024px; } } /</em> xl <em>/ @media (min-width: 1280px) { .container { max-width: 1280px; } } /</em> 2xl <em>/ @media (min-width: 1536px) { .container { max-width: 1536px; } } /</em> Container Media ⬆️ <em>/ .tools { padding-top: 60px; padding-bottom: 60px; background-color: #f6f5f6; } .tools .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(413px, 1fr)); grid-gap: 30px; } .tools .box { border-radius: 10px; margin-bottom: 45px; display: flex; justify-content: space-between; align-items: center; } @media (max-width: 1280px) { .tools .box { padding: 35px 10px; text-align: center; justify-content: center; } .tools .box .box-img { display: none; } } .tools .box h3 { margin: 0 0 15px 15px; font-size: 24px; font-weight: bold; } .tools .box p { color: #474747; max-width: 545px; margin-left: 15px; font-weight: 600; line-height: 1.5; } /</em> Green 🟢 <em>/ .tools .green:hover, .tools .green:hover .box-img::after { background-color: rgb(43, 168, 43); transition: var(–transition); } .tools .green:hover h3, .tools .green:hover p { color: white; transition: var(–transition); } .tools .box .box-img { width: 500px; height: 100%; position: relative; overflow: hidden; border-radius: 0 10px 10px 0; } .tools .box .box-img img { width: 100%; height: 100%; } .tools .green { box-shadow: 0px 0px 10px 0px rgb(43, 168, 43); } .tools .green .box-img::before { content: “”; position: absolute; width: 100%; height: 100%; left: 0; top: 0; background-color: rgba(43, 168, 43, 0.3); } .tools .green .box-img::after { content: “”; position: absolute; background-color: #f6f5f6; width: 139px; height: calc(100% + 100px); top: -81px; left: -74px; transform: rotate(32deg); } .tools .green h3 { color: rgb(43, 168, 43); } /</em> Blue 🔵 */<br>.tools .blue:hover,<br>.tools .blue:hover .box-img::after {<br>background-color: rgb(47, 47, 214);<br>transition: var(–transition);<br>}<br>.tools .blue:hover h3,<br>.tools .blue:hover p {<br>color: white;<br>transition: var(–transition);<br>}</p><p>.tools .blue {<br>box-shadow: 0px 0px 10px 0px rgb(47, 47, 214);<br>}<br>.tools .blue .box-img::before {<br>content: “”;<br>position: absolute;<br>width: 100%;<br>height: 100%;<br>left: 0;<br>top: 0;<br>background-color: rgba(47, 47, 214, 0.3);<br>}<br>.tools .blue .box-img::after {<br>content: “”;<br>position: absolute;<br>background-color: #f6f5f6;<br>width: 139px;<br>height: calc(100% + 100px);<br>top: -81px;<br>left: -74px;<br>transform: rotate(32deg);<br>}<br>.tools .blue h3 {<br>color: rgb(47, 47, 214);<br>}<br>/* Red 😡 */<br>.tools .red:hover,<br>.tools .red:hover .box-img::after {<br>background-color: var(–main-color);<br>transition: var(–transition);<br>}<br>.tools .red:hover h3,<br>.tools .red:hover p {<br>color: white;<br>transition: var(–transition);<br>}</p><p>.tools .red {<br>box-shadow: 0px 0px 10px 0px var(–main-color);<br>}<br>.tools .red .box-img::before {<br>content: “”;<br>position: absolute;<br>width: 100%;<br>height: 100%;<br>left: 0;<br>top: 0;<br>background-color: hsla(0, 75%, 55%, 0.3);<br>}<br>.tools .red .box-img::after {<br>content: “”;<br>position: absolute;<br>background-color: #f6f5f6;<br>width: 139px;<br>height: calc(100% + 100px);<br>top: -81px;<br>left: -74px;<br>transform: rotate(32deg);<br>}<br>.tools .red h3 {<br>color: var(–main-color);<br>}</p><p>.tools .box:last-child {<br>text-align: center;<br>justify-content: center;<br>background-color: #c7c6c6;<br>}</p><p>

you Can Preview in code editor, Just paste Above Cde in Code Editor.

Share this post on:

Leave a Reply

Your email address will not be published. Required fields are marked *