diff --git a/README.md b/README.md new file mode 100644 index 0000000..d7e8f1b --- /dev/null +++ b/README.md @@ -0,0 +1,92 @@ +# My Social Links 🌐 + +A modern, responsive social media landing page that consolidates all my social media profiles and contact information in one place. Built with HTML, CSS, and JavaScript, featuring a clean and professional design with smooth animations and hover effects. + +## 🌟 Features + +- Modern and responsive design +- Smooth hover animations +- Font Awesome icons integration +- Clean and organized layout +- Mobile-friendly interface +- Easy to customize and maintain +- Multiple social platform links including: + - Instagram + - Facebook + - TikTok + - YouTube + - Twitter + - Discord + - WhatsApp + - Telegram + - Reddit + - GitHub + - LinkedIn + - Email + +## đŸ› ī¸ Technologies Used + +- HTML5 +- CSS3 +- JavaScript +- Font Awesome Icons +- Google Fonts (Inter) + +## 📁 Project Structure + +``` +. +├── index.html # Main HTML file +├── styles.css # CSS styling +├── script.js # JavaScript functionality +└── assets/ # Directory containing images and other assets + └── profile.png # Profile picture +``` + +## 🚀 Getting Started + +1. Clone this repository: + + ```bash + git clone https://github.com/S4NKALP/social-links.git + ``` + +2. Open `index.html` in your web browser to view the page. + +3. To modify the links, edit the `` tags in `index.html` with your own social media profile URLs. + +## 🎨 Customization + +- To change colors: Modify the CSS variables in `styles.css` +- To update profile information: Edit the content in `index.html` +- To add new social links: Copy and paste an existing social link element in `index.html` and modify it accordingly + +## 🎮 Hidden Features & Easter Eggs + +Want to discover some fun hidden features? Here are some hints: + +1. đŸŽ¯ Try typing these magic words: + + - Type "wow" for a surprise effect + - Type "fun" to start a color party + - Type "spin" to see things go round and round + - Type "boom" for an explosive surprise + +2. đŸ•šī¸ Remember the classic Konami Code? Try it here! + (Up, Up, Down, Down, Left, Right, Left, Right, B, A) + +3. đŸ–ŧī¸ The profile picture might have a secret... + Try clicking it multiple times! + +_Note: All effects are temporary and will reset after a few seconds._ + +## 📝 License + +This project is open source and available under the [MIT License](LICENSE). + +## 👤 Author + +Created by Sankalp Tharu + +- GitHub: [@S4NKALP](https://github.com/S4NKALP) +- Email: sankalptharu50028@gmail.com diff --git a/assets/profile.png b/assets/profile.png new file mode 100644 index 0000000..f351510 Binary files /dev/null and b/assets/profile.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..9dc7884 --- /dev/null +++ b/index.html @@ -0,0 +1,85 @@ + + + + + + My Social Links + + + + + +
+
+
+ Profile Picture +
+

Sankalp Tharu

+

✨ Digital Creator | Content Maker 🚀
Sharing vibes and connecting with awesome people! đŸ’Ģ

+
+ +
+
+ + + \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..3f59c79 --- /dev/null +++ b/script.js @@ -0,0 +1,426 @@ +// Add animation when social links appear +document.addEventListener('DOMContentLoaded', () => { + const socialLinks = document.querySelectorAll('.social-link'); + const profileImage = document.querySelector('.profile-image img'); + const container = document.querySelector('.container'); + + // Simple key sequences + const sequences = { + 'wow': { + message: '🌈 WOW Effect Activated! 🌈', + effect: () => { + socialLinks.forEach(link => { + link.style.transform = 'scale(1.1)'; + setTimeout(() => { + link.style.transform = 'scale(1)'; + }, 500); + }); + } + }, + 'fun': { + message: '🎨 Color Party! 🎨', + effect: () => { + document.body.style.animation = 'backgroundParty 3s'; + setTimeout(() => { + document.body.style.animation = ''; + }, 3000); + } + }, + 'spin': { + message: '🌀 Spin Time! 🌀', + effect: () => { + socialLinks.forEach((link, i) => { + setTimeout(() => { + link.style.transition = 'transform 1s'; + link.style.transform = 'rotate(360deg)'; + setTimeout(() => { + link.style.transform = 'none'; + }, 1000); + }, i * 100); + }); + } + }, + 'boom': { + message: 'đŸ’Ĩ Boom Effect! đŸ’Ĩ', + effect: () => { + for (let i = 0; i < 30; i++) { + createConfetti(); + } + } + } + }; + + // Track typed keys + let typedKeys = ''; + let typingTimer; + + // Listen for key presses + document.addEventListener('keypress', (e) => { + typedKeys += e.key.toLowerCase(); + + // Check each sequence + Object.entries(sequences).forEach(([sequence, { message, effect }]) => { + if (typedKeys.includes(sequence)) { + // Show message + showMessage(message); + // Run effect + effect(); + // Reset typed keys + typedKeys = ''; + } + }); + + // Reset after 2 seconds of no typing + clearTimeout(typingTimer); + typingTimer = setTimeout(() => { + typedKeys = ''; + }, 2000); + + // Keep string at reasonable length + if (typedKeys.length > 10) { + typedKeys = typedKeys.slice(-10); + } + }); + + function showMessage(text) { + const message = document.createElement('div'); + message.textContent = text; + message.style.cssText = ` + position: fixed; + top: 20px; + left: 50%; + transform: translateX(-50%); + background: rgba(0, 0, 0, 0.8); + color: white; + padding: 15px 30px; + border-radius: 30px; + font-size: 18px; + z-index: 1000; + opacity: 0; + transition: opacity 0.3s; + `; + + document.body.appendChild(message); + + // Fade in + setTimeout(() => { + message.style.opacity = '1'; + }, 10); + + // Remove after 2 seconds + setTimeout(() => { + message.style.opacity = '0'; + setTimeout(() => message.remove(), 300); + }, 2000); + } + + // Konami Code Easter Egg + const konamiCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']; + let konamiIndex = 0; + let partyMode = false; + + document.addEventListener('keydown', (e) => { + // Check if the pressed key matches the next key in the sequence + if (e.key === konamiCode[konamiIndex]) { + konamiIndex++; + + // If we've matched all keys, activate party mode + if (konamiIndex === konamiCode.length) { + activatePartyMode(); + konamiIndex = 0; // Reset the index + } + } else { + konamiIndex = 0; // Reset if wrong key is pressed + // If the wrong key is the first key of the sequence, start over + if (e.key === konamiCode[0]) { + konamiIndex = 1; + } + } + }); + + // Party Mode Easter Egg + function activatePartyMode() { + if (partyMode) return; + partyMode = true; + + // Add party mode class to body + document.body.classList.add('party-mode'); + + // Create and add party mode styles + const partyStyle = document.createElement('style'); + partyStyle.textContent = ` + .party-mode { + animation: backgroundParty 2s infinite !important; + } + + .party-mode .container { + animation: shake 0.5s infinite !important; + } + + .party-mode .social-link { + animation: rainbow 2s infinite !important; + } + + @keyframes backgroundParty { + 0% { background-color: #ff0000; } + 20% { background-color: #00ff00; } + 40% { background-color: #0000ff; } + 60% { background-color: #ff00ff; } + 80% { background-color: #ffff00; } + 100% { background-color: #ff0000; } + } + + @keyframes shake { + 0%, 100% { transform: translateX(0); } + 25% { transform: translateX(-5px); } + 75% { transform: translateX(5px); } + } + + @keyframes rainbow { + 0% { background: #ff0000; } + 20% { background: #00ff00; } + 40% { background: #0000ff; } + 60% { background: #ff00ff; } + 80% { background: #ffff00; } + 100% { background: #ff0000; } + } + `; + document.head.appendChild(partyStyle); + + // Create confetti + for (let i = 0; i < 100; i++) { + createConfetti(); + } + + // Show success message + showMessage('🎉 KONAMI CODE ACTIVATED! 🎉'); + + // Reset after 10 seconds + setTimeout(() => { + document.body.classList.remove('party-mode'); + partyMode = false; + }, 10000); + } + + // Profile Image Click Easter Egg + let clickCount = 0; + profileImage.addEventListener('click', () => { + clickCount++; + if (clickCount === 5) { + profileImage.style.transform = 'rotate(360deg) scale(1.2)'; + profileImage.style.transition = 'transform 1s ease'; + + setTimeout(() => { + const sunglasses = document.createElement('div'); + sunglasses.className = 'sunglasses'; + sunglasses.innerHTML = '😎'; + sunglasses.style.position = 'absolute'; + sunglasses.style.top = '50%'; + sunglasses.style.left = '50%'; + sunglasses.style.transform = 'translate(-50%, -50%)'; + sunglasses.style.fontSize = '40px'; + sunglasses.style.opacity = '0'; + sunglasses.style.transition = 'opacity 0.5s ease'; + profileImage.appendChild(sunglasses); + + setTimeout(() => { + sunglasses.style.opacity = '1'; + }, 100); + }, 1000); + + clickCount = 0; + } + }); + + // Create confetti particles + function createConfetti() { + const confetti = document.createElement('div'); + confetti.className = 'confetti'; + confetti.style.cssText = ` + position: fixed; + width: 10px; + height: 10px; + background: ${['#ff0000', '#00ff00', '#0000ff', '#ffff00', '#ff00ff'][Math.floor(Math.random() * 5)]}; + left: ${Math.random() * 100}vw; + top: -10px; + opacity: 1; + transform: rotate(${Math.random() * 360}deg); + animation: fall ${Math.random() * 3 + 2}s linear; + `; + + document.body.appendChild(confetti); + + confetti.addEventListener('animationend', () => { + confetti.remove(); + }); + } + + // Add confetti animation style + const confettiStyle = document.createElement('style'); + confettiStyle.textContent = ` + @keyframes fall { + to { + transform: translateY(100vh) rotate(960deg); + opacity: 0; + } + } + `; + document.head.appendChild(confettiStyle); + + // Add 3D tilt effect to profile image + profileImage.parentElement.addEventListener('mousemove', (e) => { + const rect = profileImage.parentElement.getBoundingClientRect(); + const x = e.clientX - rect.left; + const y = e.clientY - rect.top; + + const centerX = rect.width / 2; + const centerY = rect.height / 2; + + const angleX = (y - centerY) / 20; + const angleY = (centerX - x) / 20; + + profileImage.parentElement.style.transform = `perspective(1000px) rotateX(${angleX}deg) rotateY(${angleY}deg)`; + }); + + profileImage.parentElement.addEventListener('mouseleave', () => { + profileImage.parentElement.style.transform = 'perspective(1000px) rotateX(0) rotateY(0)'; + }); + + // Animate social links + socialLinks.forEach((link, index) => { + link.style.opacity = '0'; + link.style.transform = 'translateY(20px)'; + + setTimeout(() => { + link.style.transition = 'all 0.5s cubic-bezier(0.4, 0, 0.2, 1)'; + link.style.opacity = '1'; + link.style.transform = 'translateY(0)'; + }, 100 * index); + + // Add hover effect + link.addEventListener('mousemove', (e) => { + const rect = link.getBoundingClientRect(); + const x = e.clientX - rect.left; + const y = e.clientY - rect.top; + + const shine = `radial-gradient(circle at ${x}px ${y}px, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%)`; + link.style.background = `${getComputedStyle(link).background}, ${shine}`; + }); + + link.addEventListener('mouseleave', () => { + link.style.background = ''; + }); + + // Add click ripple effect + link.addEventListener('click', function(e) { + const ripple = document.createElement('div'); + ripple.classList.add('ripple'); + + const rect = link.getBoundingClientRect(); + const x = e.clientX - rect.left; + const y = e.clientY - rect.top; + + ripple.style.left = `${x}px`; + ripple.style.top = `${y}px`; + + link.appendChild(ripple); + + setTimeout(() => { + ripple.remove(); + }, 1000); + }); + }); + + // Mobile Easter Eggs + let lastTap = 0; + + document.querySelector('.profile-image').addEventListener('touchstart', (e) => { + const now = new Date().getTime(); + const timeSince = now - lastTap; + + if (timeSince < 300 && timeSince > 0) { + // Double tap + e.preventDefault(); + const profileImage = e.target; + profileImage.style.animation = 'bounce 0.5s ease'; + setTimeout(() => profileImage.style.animation = '', 500); + } + + lastTap = now; + }); + + let touchStartY = 0; + document.querySelector('.container').addEventListener('touchstart', (e) => { + touchStartY = e.touches[0].clientY; + }); + + document.querySelector('.container').addEventListener('touchend', (e) => { + const touchEndY = e.changedTouches[0].clientY; + const distance = touchEndY - touchStartY; + + if (Math.abs(distance) > 100) { + // Long swipe + if (distance < 0) { + // Swipe up - spin effect + document.querySelector('.profile-image').style.animation = 'spin 1s linear infinite'; + setTimeout(() => document.querySelector('.profile-image').style.animation = '', 2000); + } else { + // Swipe down - rainbow effect + document.querySelector('.container').style.animation = 'rainbow-bg 3s linear'; + setTimeout(() => document.querySelector('.container').style.animation = '', 3000); + } + } + }); + + // Add animations + const style = document.createElement('style'); + style.textContent = ` + @keyframes spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } + } + + @keyframes bounce { + 0%, 100% { transform: translateY(0); } + 50% { transform: translateY(-20px); } + } + + @keyframes rainbow-bg { + 0% { background: linear-gradient(45deg, #ff0000, #ff8000); } + 20% { background: linear-gradient(45deg, #ff8000, #ffff00); } + 40% { background: linear-gradient(45deg, #ffff00, #00ff00); } + 60% { background: linear-gradient(45deg, #00ff00, #0000ff); } + 80% { background: linear-gradient(45deg, #0000ff, #ff00ff); } + 100% { background: linear-gradient(45deg, #ff00ff, #ff0000); } + } + `; + document.head.appendChild(style); +}); + +// Add ripple effect styles +const rippleStyle = document.createElement('style'); +rippleStyle.textContent = ` + .social-link { + position: relative; + overflow: hidden; + } + + .ripple { + position: absolute; + background: rgba(255, 255, 255, 0.3); + border-radius: 50%; + pointer-events: none; + width: 100px; + height: 100px; + transform: translate(-50%, -50%) scale(0); + animation: ripple 1s linear; + } + + @keyframes ripple { + to { + transform: translate(-50%, -50%) scale(4); + opacity: 0; + } + } +`; +document.head.appendChild(rippleStyle); \ No newline at end of file diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..91116fb --- /dev/null +++ b/styles.css @@ -0,0 +1,407 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; +} + +body { + min-height: 100vh; + background: #000000; + background-image: + radial-gradient(at 40% 20%, hsla(280,100%,75%,0.1) 0px, transparent 50%), + radial-gradient(at 80% 0%, hsla(189,100%,56%,0.1) 0px, transparent 50%), + radial-gradient(at 0% 50%, hsla(355,100%,93%,0.1) 0px, transparent 50%), + radial-gradient(at 80% 50%, hsla(340,100%,76%,0.1) 0px, transparent 50%), + radial-gradient(at 0% 100%, hsla(269,100%,77%,0.1) 0px, transparent 50%), + radial-gradient(at 80% 100%, hsla(300,100%,60%,0.1) 0px, transparent 50%), + radial-gradient(at 0% 0%, hsla(343,100%,76%,0.1) 0px, transparent 50%); + display: flex; + justify-content: center; + align-items: center; + padding: 20px; + color: #fff; +} + +.container { + background: rgba(255, 255, 255, 0.05); + padding: 30px; + border-radius: 30px; + border: 2px solid rgba(255, 255, 255, 0.1); + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); + width: 100%; + max-width: 1200px; + position: relative; + overflow: hidden; +} + +.container::before { + content: ''; + position: absolute; + top: 0; + left: -100%; + width: 200%; + height: 100%; + background: linear-gradient( + 90deg, + transparent, + rgba(255, 255, 255, 0.1), + transparent + ); + animation: shine 8s infinite; +} + +.profile { + text-align: center; + padding: 20px; + background: rgba(255, 255, 255, 0.05); + border-radius: 20px; + margin-bottom: 30px; + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.1); +} + +.profile-image { + width: 120px; + height: 120px; + margin: 0 auto 20px; + border-radius: 24px; + overflow: hidden; + border: 3px solid #fff; + position: relative; + transform-style: preserve-3d; + transform: perspective(1000px); + animation: float 6s ease-in-out infinite; + box-shadow: + 0 5px 15px rgba(0, 0, 0, 0.3), + 0 0 30px rgba(255, 255, 255, 0.1); + cursor: pointer; + transition: transform 0.3s ease, filter 0.3s ease; +} + +.profile-image img { + width: 100%; + height: 100%; + object-fit: cover; + transform: scale(1.1); + transition: transform 0.3s ease; +} + +.profile-image:hover img { + transform: scale(1.2); +} + +.profile-image:active { + transform: scale(0.95); +} + +.profile h1 { + background: linear-gradient(45deg, #fff, #f0f0f0); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + margin-bottom: 15px; +} + +.profile p { + line-height: 1.6; + margin-bottom: 15px; +} + +.social-links { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); + gap: 12px; + padding: 5px; +} + +.social-link { + display: flex; + align-items: center; + padding: 12px 15px; + background: rgba(255, 255, 255, 0.05); + border-radius: 12px; + text-decoration: none; + color: white; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + border: 1px solid rgba(255, 255, 255, 0.1); + backdrop-filter: blur(10px); + position: relative; + overflow: hidden; + transform: translateY(0); +} + +.social-link:hover { + transform: translateY(-3px); + border-color: rgba(255, 255, 255, 0.3); + box-shadow: + 0 10px 20px rgba(0, 0, 0, 0.2), + 0 0 20px rgba(255, 255, 255, 0.1); +} + +.social-link i { + font-size: 1.4em; + margin-right: 12px; + width: 24px; + text-align: center; + background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.7)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + transition: transform 0.3s ease; +} + +.social-link:hover i { + transform: scale(1.2) rotate(5deg); +} + +.social-link span { + font-size: 0.95em; + font-weight: 600; + letter-spacing: 0.5px; +} + +/* Modern hover effects */ +.github:hover { + background: #2a2a2a; + box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); +} +.linkedin:hover { + background: #0077b5; + box-shadow: 0 0 20px rgba(0, 119, 181, 0.3); +} +.twitter:hover { + background: #1da1f2; + box-shadow: 0 0 20px rgba(29, 161, 242, 0.3); +} +.instagram:hover { + background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); + box-shadow: 0 0 20px rgba(225, 48, 108, 0.3); +} +.facebook:hover { + background: linear-gradient(45deg, #2851A3, #1877f2); + box-shadow: 0 0 20px rgba(24, 119, 242, 0.3); +} +.discord:hover { + background: #7289da; + box-shadow: 0 0 20px rgba(114, 137, 218, 0.3); +} +.whatsapp:hover { + background: #25d366; + box-shadow: 0 0 20px rgba(37, 211, 102, 0.3); +} +.youtube:hover { + background: #ff0000; + box-shadow: 0 0 20px rgba(255, 0, 0, 0.3); +} +.tiktok:hover { + background: linear-gradient(45deg, #00f2ea 0%, #ff0050 100%); + box-shadow: 0 0 20px rgba(0, 242, 234, 0.3); +} +.telegram:hover { + background: #0088cc; + box-shadow: 0 0 20px rgba(0, 136, 204, 0.3); +} +.reddit:hover { + background: #ff4500; + box-shadow: 0 0 20px rgba(255, 69, 0, 0.3); +} +.email:hover { + background: #ea4335; + box-shadow: 0 0 20px rgba(234, 67, 53, 0.3); +} + +/* Animations */ +@keyframes float { + 0%, 100% { transform: translateY(0) rotate(0deg); } + 25% { transform: translateY(-10px) rotate(2deg); } + 75% { transform: translateY(10px) rotate(-2deg); } +} + +@keyframes shine { + 0% { left: -100%; } + 50%, 100% { left: 100%; } +} + +/* Responsive Design */ +@media (max-width: 1200px) { + .social-links { + grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); + gap: 10px; + } +} + +@media (max-width: 768px) { + .container { + padding: 20px; + } + + .social-links { + grid-template-columns: repeat(2, 1fr); + gap: 8px; + } + + .profile-image { + width: 100px; + height: 100px; + } + + .profile h1 { + font-size: 1.8em; + } + + .social-link { + padding: 10px 12px; + } + + .social-link i { + font-size: 1.2em; + } + + .social-link span { + font-size: 0.9em; + } +} + +/* Add cool scrollbar */ +::-webkit-scrollbar { + width: 10px; + background: rgba(255, 255, 255, 0.1); +} + +::-webkit-scrollbar-thumb { + background: rgba(255, 255, 255, 0.2); + border-radius: 10px; +} + +::-webkit-scrollbar-thumb:hover { + background: rgba(255, 255, 255, 0.3); +} + +/* Secret hover message */ +.container::after { + content: 'psst... try the konami code'; + position: absolute; + bottom: 5px; + right: 5px; + font-size: 0; + color: rgba(255, 255, 255, 0.1); + transition: font-size 0.3s ease; +} + +.container:hover::after { + font-size: 10px; +} + +/* Hidden click counter */ +.profile::before { + content: attr(data-clicks); + position: absolute; + top: 0; + right: 0; + font-size: 0; + opacity: 0; + transition: all 0.3s ease; +} + +.profile[data-clicks]:hover::before { + font-size: 12px; + opacity: 0.5; +} + +/* Ripple effect for social links */ +.ripple { + position: absolute; + border-radius: 50%; + background: rgba(255, 255, 255, 0.3); + transform: scale(0); + animation: ripple 0.6s linear; + pointer-events: none; +} + +@keyframes ripple { + to { + transform: scale(4); + opacity: 0; + } +} + +/* Party mode animations */ +@keyframes rainbow-text { + 0% { color: #ff0000; } + 20% { color: #00ff00; } + 40% { color: #0000ff; } + 60% { color: #ff00ff; } + 80% { color: #ffff00; } + 100% { color: #ff0000; } +} + +@keyframes spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + +@keyframes bounce { + 0%, 100% { transform: translateY(0); } + 50% { transform: translateY(-20px); } +} + +/* Secret hover states */ +.social-link:hover:active { + transform: scale(0.9) rotate(5deg); +} + +.social-link:hover:active i { + animation: spin 0.5s linear infinite; +} + +/* Double-click effect */ +.profile-image.clicked { + animation: bounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) 1; +} + +/* Hidden diagonal animation */ +@keyframes diagonal-slide { + 0% { transform: translate(-100%, -100%); } + 100% { transform: translate(100%, 100%); } +} + +.container:hover::before { + animation: diagonal-slide 2s linear infinite; +} + +.github-stats, +.github-stats span, +.github-status, +.github-status img { + display: none; +} + +/* Discord copy animation */ +.social-link.discord { + cursor: pointer; + position: relative; + overflow: hidden; +} + +.social-link.discord::after { + content: '🎮'; + position: absolute; + right: 10px; + opacity: 0; + transition: opacity 0.3s ease; +} + +.social-link.discord:hover::after { + opacity: 0.7; +} + +.social-link.discord.copied { + animation: pulse 0.3s ease; + background: #7289da !important; +} + +@keyframes pulse { + 0% { transform: scale(1); } + 50% { transform: scale(1.05); } + 100% { transform: scale(1); } +} +