知识库 · 提示词
Claude3.7 经典测试
使用HTML/CSS/JS创建包含风、雨、晴、雪四种天气动态效果的并排天气卡片。单文件实现暗黑风格界面,并提供切换按钮演示各天气动画。
做一个天气页面
Create a single HTML file containing CSS and JavaScript to generate an animated weather card. The card should visually represent the following weather conditions with distinct animations: Wind: (e.g., moving clouds, swaying trees, or wind lines) Rain: (e.g., falling raindrops, puddles forming) Sun: (e.g., shining rays, bright background) Snow: (e.g., falling snowflakes, snow accumulating) Show all the weather card side by side The card should have a dark background. Provide all the HTML, CSS, and JavaScript code within this single file. The JavaScript should include a way to switch between the different weather conditions (e.g., a function or a set of buttons) to demonstrate the animations for each. --thinking_budget 4096