Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <p>inspired by https://affordableevcharging.com/business-chargers/ <a href="https://media.wputopia.com/storage/2024/11/07004713/product-features.webp" target="_blank">demo</a></p>
<div class="product-feature">
   <div class="smart-features-section">
       <div class="features-row">
           <!-- Left Column -->
           <div class="features-column left-features">
               <div class="feature-item">
                   <div class="feature-content">
                       <h3>Attract and retain the best employees</h3>
                       <span class="connector-dot"></span>
                       <span class="connector-line"></span>
                   </div>
               </div>
               <div class="feature-item">
                   <div class="feature-content">
                       <h3>Attract new customers by offering public charging</h3>
                       <span class="connector-dot"></span>
                       <span class="connector-line"></span>
                   </div>
               </div>
               <div class="feature-item">
                   <div class="feature-content">
                       <h3>We offer universal chargers that will work with any electric vehicle</h3>
                       <span class="connector-dot"></span>
                       <span class="connector-line"></span>
                   </div>
               </div>
           </div>

           <!-- Center Circle -->
           <div class="center-circle">
               <div class="outer-circle">
                   <div class="inner-circle">
                       <img src="https://media.wputopia.com/storage/2024/11/07004605/Quantum-2-min.webp" alt="EV Charger">
                   </div>
               </div>
           </div>

           <!-- Right Column -->
           <div class="features-column right-features">
               <div class="feature-item">
                   <div class="feature-content">
                       <h3>We can provide either free / paid charging depending on your needs</h3>
                       <span class="connector-dot"></span>
                       <span class="connector-line"></span>
                   </div>
               </div>
               <div class="feature-item">
                   <div class="feature-content">
                       <h3>Helps your company on it's path to zero net emissions</h3>
                       <span class="connector-dot"></span>
                       <span class="connector-line"></span>
                   </div>
               </div>
               <div class="feature-item">
                   <div class="feature-content">
                       <h3>Quick, reliable and professional installation from our team of experts</h3>
                       <span class="connector-dot"></span>
                       <span class="connector-line"></span>
                   </div>
               </div>
           </div>
       </div>
   </div>
</div>
              
            
!

CSS

              
                .product-feature .smart-features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-feature .features-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-height: 428px;
}

.product-feature .features-column {
    width: 27%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 19px 0 30px;
    min-height: 228px;
}

.product-feature .feature-item {
    margin-bottom: 15px;
    position: relative;
}

.product-feature .feature-content {
    position: relative;
}

.product-feature .feature-content h3 {
    font-size: 16px;
    font-weight: 500;
    max-width: 303px;
    min-height: 57px;
}

/* Left Column Specific */
.product-feature .left-features .feature-content {
    text-align: right;
}

.product-feature .left-features .connector-dot {
    position: absolute;
    right: -18px;
    top: 6px;
    width: 9px;
    height: 9px;
    background: #6AA84F;
    border-radius: 50%;
}

.product-feature .left-features .connector-line {
    position: absolute;
    right: -157px;
    top: 9px;
    width: 143px;
    border-top: 1px dashed #C3DCB9;
}

/* Right Column Specific */
.product-feature .right-features .connector-dot {
    position: absolute;
    left: -18px;
    top: 6px;
    width: 9px;
    height: 9px;
    background: #6AA84F;
    border-radius: 50%;
}

.product-feature .right-features .connector-line {
    position: absolute;
    left: -157px;
    top: 9px;
    width: 143px;
    border-top: 1px dashed #C3DCB9;
}

/* Center Circle */
.product-feature .center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 50px;
    z-index: 1;
}

.product-feature .outer-circle {
    height: 428px;
    width: 428px;
    border-radius: 50%;
    border: 1px solid rgba(106, 168, 79, 0.4);
    padding: 21px;
    background: #fff;
}

.product-feature .inner-circle {
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(106, 168, 79, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 30px;
}

.product-feature .inner-circle img {
    object-fit: contain;
    height: auto;
    width: 100%;
}
/* Responsive styles */
/* Tablet Styles */
@media (max-width: 991px) {
    .product-feature .features-row {
        flex-wrap: wrap;
        margin: 0 -30px;
        justify-content: center;
    }

    .product-feature .center-circle {
        position: static;
        transform: none;
        width: 100%;
        margin-bottom: 35px;
        order: -1; /* Makes circle appear first */
        padding:0;
    }

    .product-feature .outer-circle {
        margin: 0 auto;
    }

    .product-feature .features-column {
       width: 30%;
    padding: 0px 30px;
    }

    .product-feature .left-features h3 {
        max-width: none;
        text-align: right; /* Centers text */
    }
   .product-feature .right-features h3 {
        max-width: none;
        text-align: left; /* Centers text */
    }
  
    /* Hide connectors on tablet */
    .product-feature .connector-dot,
    .product-feature .connector-line {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .product-feature .features-row {
        margin: 0 -20px;
        flex-direction: column;
    }

    .product-feature .features-column {
        width: 100%; /* Full width for single column */
      min-height:128px;
      padding:0;
    }

    .product-feature .feature-content h3 {
        text-align: left;
        min-height: 0;
        margin-bottom: 20px;
      margin-left: 25px;
    }

    .product-feature .outer-circle {
        height: 320px;
        width: 320px;
    }
  /*Tablet and Mobile dots*/
  .product-feature .feature-content h3:before {
       content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    background: #6AA84F;
    border-radius: 50%;
    }

    /* Remove right alignment for left column */
    .product-feature .left-features .feature-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-feature .outer-circle {
        height: 280px;
        width: 280px;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console