Can you make me a poster for selling drinks
- User
Can you make me a poster for selling drinks
Assistant
Here's a modern, eye-catching drink poster design in a single HTML file with CSS and JavaScript. You can copy this code into an .html file and open it in a browser:
<!DOCTYPE html> <html> <head> <title>Refresh Drink Poster</title> <style> body { margin: 0; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #f0f0f0; font-family: 'Arial', sans-serif; } .poster { position: relative; width: 800px; height: 1200px; background: linear-gradient(45deg, #2c3e50, #3498db); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); } .poster::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%); transform: rotate(45deg); } .content { position: relative; padding: 40px; color: white; z-index: 1; } .bottle { position: absolute; bottom: 0; right: 0; width: 60%; height: 80%; background: url('https://images.unsplash.com/photo-1591857177580-dc82b9ac4e1e?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80') center/cover; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); opacity: 0.9; } h1 { font-size: 4em; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } .tagline { font-size: 1.5em; margin-bottom: 30px; opacity: 0.9; } .price { font-size: 3em; color: #ffeb3b; margin: 20px 0; } .cta { background: #e74c3c; color: white; padding: 15px 40px; border-radius: 50px; font-size: 1.2em; cursor: pointer; transition: transform 0.3s, background 0.3s; display: inline-block; } .cta:hover { background: #c0392b; transform: scale(1.05); } .bubbles { position: absolute; width: 100%; height: 100%; z-index: 0; overflow: hidden; top: 0; left: 0; } .bubble { position: absolute; bottom: -100px; width: 40px; height: 40px; background-color: rgba(255,255,255,0.1); border-radius: 50%; animation: rise 10s infinite ease-in; opacity: 0.5; } .bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; } .bubble:nth-child(2) { width: 20px; height: 20px; left: 20%; animation-duration: 5s; } .bubble:nth-child(3) { width: 50px; height: 50px; left: 35%; animation-duration: 7s; } .bubble:nth-child(4) { width: 80px; height: 80px; left: 50%; animation-duration: 11s; } .bubble:nth-child(5) { width: 35px; height: 35px; left: 55%; animation-duration: 6s; } .bubble:nth-child(6) { width: 45px; height: 45px; left: 65%; animation-duration: 8s; } .bubble:nth-child(7) { width: 25px; height: 25px; left: 75%; animation-duration: 7s; } .bubble:nth-child(8) { width: 80px; height: 80px; left: 80%; animation-duration: 6s; } .bubble:nth-child(9) { width: 15px; height: 15px; left: 70%; animation-duration: 5s; } .bubble:nth-child(10) { width: 50px; height: 50px; left: 85%; animation-duration: 5s; } @keyframes rise { 0% { bottom: -100px; transform: translateX(0); } 50% { transform: translateX(100px); } 100% { bottom: 100%; transform: translateX(-200px); } } </style> </head> <body> <div class="poster"> <div class="bubbles"> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> <div class="bubble"></div> </div> <div class="content"> <h1>冰爽柠檬</h1> <p class="tagline">Refresh Your Summer</p> <p>100% Natural Ingredients | Zero Preservatives</p> <div class="price">¥4.99</div> <a class="cta">立即购买</a> </div> <div class="bottle"></div> </div> </body> </html>Key features of this design:
- Modern gradient background with animated bubbles
- Dynamic bottle image placeholder (replace with your product image)
- Glowing text effects and price highlight
- Interactive hover effects on CTA button
- Responsive design that works on most screens
- 3D-like depth with layered elements
- Animated water bubble effects
To customize:
- Replace the bottle image URL in the CSS
- Modify colors in the gradient background
- Change text content and pricing
- Adjust sizes and positions as needed
- Add your brand logo in the top left if needed
Would you like me to modify any specific elements or create a different style?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.