MP3-Mini by Velo-Ninja

by velo_ninja

HTML

<!DOCTYPE html>
<html lang="en">
    <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Compact MP3 Player</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: sans-serif;
            background-color: #121212;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
        }
        .player {
            border: 1px solid white;
            background: #1e1e1e;
            padding: 15px;
            border-radius: 15px;
            width: 350px;
            min-height: 25%;
            max-height: 35%;
            box-shadow: 0 0 15px rgba(255,255,255,0.4);
            display: flex;
            position: relative;
            flex-direction: column;
            align-items: center;
        }
        .top-menu {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-around;
            text-align: center;
            font-size: 15px;
            background: rgba(169, 169, 169, 0.2);
            padding: 4px;
            border-radius: 5px;
            width: 99%;
            margin-top: 5px;
            margin-bottom: 20px;
        }
        .cell-left {
            background: rgba(7, 7, 7, 0.2);
            padding: 4px;
        }
        .cell-right {
            background: rgba(0, 0, 0, 0.2);
            padding: 4px;
        }
        .time-display {
            text-align: center;
            font-size: 15px;
            color: #ccc;
            margin: 5px;
        }
        .controls {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin: 10px 0;
        }
        button {
            background: #2e2e2e;
            padding: 10px;
            border-radius: 50%;
            font-size:...