Friday, 9 August 2024

C9

Profiles Marquee - Matrimonial Website

Matrimonial Website

Available Profiles

Profile 1

John Doe

Age: 30 | Male | New York

Profile 2

Jane Smith

Age: 28 | Female | Los Angeles

© 2024 Matrimonial Website

body { font-family: Arial, sans-serif; margin: 0; padding: 0; } header { background-color: #333; color: #fff; padding: 10px; text-align: center; } header .container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; } header h1 { margin: 0; } nav a { color: #fff; margin: 0 15px; text-decoration: none; } nav a:hover { text-decoration: underline; } main { padding: 20px; text-align: center; } .marquee-container { position: relative; overflow: hidden; background-color: #f4f4f4; padding: 20px; } .marquee { white-space: nowrap; overflow: hidden; box-sizing: border-box; } .marquee-content { display: inline-block; padding-left: 100%; animation: marquee 10s linear infinite; } .profile-card { display: inline-block; width: 200px; height: 250px; margin-right: 20px; background-color: #fff; border: 1px solid #ddd; border-radius: 8px; text-align: center; vertical-align: top; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .profile-card img { width: 100%; height: 150px; object-fit: cover; border-bottom: 1px solid #ddd; } .profile-card h3 { margin: 10px 0 5px; } .profile-card p { color: #666; } @keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } } footer { background-color: #333; color: #fff; padding: 10px; text-align: center; }

No comments:

Post a Comment

Code 2