o1-mini-2024-09-12· OpenAI
WildChat-4.8M (AI2)
این کد داشته باش تا بهت بگم چیکار کنی <!DOCTYPE html> <html> <head> <style> body {…
- User
این کد داشته باش تا بهت بگم چیکار کنی
.ai-animation-gallery { padding: 20px; width: 100%; max-width: 800px; text-align: center; } .ai-animation-gallery .section { margin: 0; text-align: center; } .start-button { background: radial-gradient(circle at 50% 50%, #f77062, #fe5196); color: white; border-radius: 20px; padding: 20px 50px; text-align: center; display: inline-block; font-weight: bold; font-size: 18px; box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 15px, rgba(255, 255, 255, 0.4) -4px -4px 15px; cursor: pointer; border: none; margin: 0; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; } .start-button:hover { transform: translateY(-3px); box-shadow: rgba(0, 0, 0, 0.4) 6px 6px 20px, rgba(255, 255, 255, 0.5) -6px -6px 20px; } .start-button::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(255, 255, 255, 0.2); transform: rotate(45deg); animation: shine 3s infinite; } @keyframes shine { 0% { transform: rotate(45deg) translateX(-100%); } 100% { transform: rotate(45deg) translateX(100%); } } .bot-buttons { display: none; justify-content: center; gap: 30px; margin-top: 30px; opacity: 0; transform: translateY(-20px); transition: all 0.5s ease; } .bot-buttons.show { opacity: 1; transform: translateY(0); } .bot-button { padding: 15px 40px; border-radius: 15px; font-weight: bold; text-decoration: none; color: white; position: relative; overflow: hidden; transition: all 0.4s ease; min-width: 180px; font-size: 16px; z-index: 1; } .simple-bot { background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%); box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4); } .advanced-bot { background: linear-gradient(45deg, #667eea 0%, #764ba2 100%); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); } .bot-button::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent); transform: translateX(-100%); transition: 0.6s; z-index: -1; } .bot-button:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } .bot-button:hover::before { transform: translateX(100%); } .simple-bot::after, .advanced-bot::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255, 255, 255, 0.5); transform: scaleX(0); transition: 0.3s; } .simple-bot:hover::after, .advanced-bot:hover::after { transform: scaleX(1); } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } } .bot-button:hover { animation: float 2s ease-in-out infinite; } @media (max-width: 600px) { .bot-buttons { flex-direction: column; align-items: center; } .bot-button { width: 80%; margin: 10px 0; } } /* Rest of the existing styles remain unchanged */ .ai-animation-gallery img { max-width: 100%; height: auto; border-radius: 10px; margin: 15px 0; } .accordion { max-width: 800px; width: 100%; background: #ffffff; padding: 30px; border-radius: 12px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); animation: fadeIn 1s ease-out; margin-top: 20px; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .accordion-item { border-bottom: 1px solid #e2e8f0; overflow: hidden; } .accordion-header { background: none; border: none; outline: none; padding: 20px; width: 100%; text-align: right; font-size: 18px; font-weight: 600; color: #2d3748; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: background 0.3s ease, color 0.3s ease; position: relative; } .accordion-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #3182ce; transition: width 0.3s ease; } .accordion-header:hover { color: #3182ce; } .accordion-header.active { background: #f0f4f8; } .accordion-header.active::after { width: 100%; } .chevron { transition: transform 0.3s ease, color 0.3s ease; font-size: 20px; color: #a0aec0; } .accordion-header.active .chevron { transform: rotate(180deg); color: #3182ce; } .accordion-content { max-height: 0; opacity: 0; transform: translateY(-20px); overflow: hidden; transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease; background-color: #f7fafc; padding: 0 20px; border-radius: 0 0 12px 12px; } .accordion-content.active { max-height: 1000px; opacity: 1; transform: translateY(0); padding: 20px; } .accordion-content video { width: 100%; max-width: 800px; height: auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; display: block; margin: 0 auto; } .accordion-content video:hover { transform: scale(1.02); } .accordion-content p { text-align: right; margin: 20px 0; color: #4a5568; line-height: 1.6; transition: color 0.3s ease; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; } .accordion-content.active p { opacity: 1; transform: translateY(0); } </style> - Assistant
کد شما دریافت شد. لطفاً بفرمایید چگونه میتوانم به شما کمک کنم؟