<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>Audio player</title>…
- User
- Assistant
body { font-family: Arial, sans-serif; background-color: #f1f1f1; padding: 20px; }
.audio-player { max-width: 400px; margin: 0 auto; background-color: #fff; border-radius: 5px; padding: 20px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
.audio-player h1 { font-size: 20px; color: #333; text-align: center; }
.audio-controller { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.audio-timeline { width: 100%; height: 5px; background-color: #ccc; border-radius: 2px; position: relative; }
.audio-timeline-fill { height: 100%; background-color: #333; border-radius: 2px; position: absolute; top: 0; left: 0; }
.audio-controls { display: flex; justify-content: space-between; align-items: center; }
.audio-controls button { border: none; background-color: transparent; font-size: 20px; color: #333; cursor: pointer; }