Testimonial Section - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>TechTesti - Testimonial Section</title> <style> body { font-family: 'Arial', sans-serif; background-color: #f4f4f4; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; } .testimonial-container { max-width: 800px; margin: 20px auto; overflow: hidden; background: linear-gradient(135deg, #6f42c1, #d63384); border-radius: 15px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); padding: 30px; position: relative; } .testimonial-container::before, .testimonial-container::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.2); animation: floating 4s ease-in-out infinite; } .testimonial-container::before { width: 100px; height: 100px; bottom: -50px; left: -50px; } .testimonial-container::after { width: 200px; height: 200px; top: -100px; right: -100px; } @keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } .testimonial { text-align: center; color: #fff; position: relative; } .testimonial img { width: 100px; height: 100px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); margin-bottom: 20px; animation: bounce 2s infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .testimonial h3 { font-size: 1.5em; margin: 0 0 10px; position: relative; display: inline-block; } .testimonial h3::after { content: '⭐'; font-size: 0.5em; color: #ffdd57; position: absolute; right: -25px; top: -10px; animation: spin 3s infinite linear; } @keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } } .testimonial p { font-size: 1em; line-height: 1.5; margin-bottom: 20px; } .testimonial .icons { display: flex; justify-content: center; gap: 15px; } .testimonial .icons i { font-size: 1.5em; color: #ffdd57; transition: transform 0.3s; } .testimonial .icons i:hover { transform: scale(1.2); } </style> </head> <body> <div class="testimonial-container"> <div class="testimonial"> <img src="https://via.placeholder.com/100" alt="User Photo"> <h3>John Doe</h3> <p>TechTesti has revolutionized the way I showcase testimonials on my website. The design is sleek, and the animations are eye-catching. Highly recommended! 💯</p> <div class="icons"> <i class="fas fa-thumbs-up"></i> <i class="fas fa-star"></i> <i class="fas fa-heart"></i> </div> </div> </div> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> <script> document.addEventListener('DOMContentLoaded', () => { const icons = document.querySelectorAll('.icons i'); icons.forEach(icon => { icon.addEventListener('mouseover', () => { icon.style.color = '#d63384'; }); icon.addEventListener('mouseout', () => { icon.style.color = '#ffdd57'; }); }); }); </script> </body> </html>