| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Stopwatch UI</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, sans-serif; } |
| #render-target { |
| position: relative; |
| overflow: hidden; |
| width: 1080px; |
| height: 2400px; |
| background: #171316; |
| color: #EDE3E7; |
| } |
| |
| |
| .title { |
| position: absolute; |
| left: 64px; |
| top: 140px; |
| font-size: 72px; |
| font-weight: 500; |
| letter-spacing: 0.5px; |
| color: #E9DDE2; |
| } |
| .ellipsis { |
| position: absolute; |
| right: 52px; |
| top: 160px; |
| width: 18px; |
| display: grid; |
| gap: 10px; |
| justify-items: center; |
| } |
| .ellipsis span { |
| width: 10px; height: 10px; border-radius: 50%; |
| background: #C9B9C2; |
| display: block; |
| } |
| |
| |
| .ring { |
| position: absolute; |
| width: 880px; |
| height: 880px; |
| left: 100px; |
| top: 510px; |
| border-radius: 50%; |
| border: 28px solid #453A40; |
| box-sizing: border-box; |
| } |
| .digits { |
| position: absolute; |
| left: 0; top: 0; right: 0; bottom: 0; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| pointer-events: none; |
| } |
| .digits .mm { |
| font-size: 200px; |
| line-height: 1; |
| font-weight: 500; |
| color: #F2E8ED; |
| } |
| .digits .ss { |
| margin-top: 18px; |
| font-size: 120px; |
| line-height: 1; |
| color: #F2E8ED; |
| } |
| |
| |
| .play-btn { |
| position: absolute; |
| left: 50%; |
| transform: translateX(-50%); |
| top: 1580px; |
| width: 250px; |
| height: 250px; |
| border-radius: 50%; |
| background: #F6B0C7; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| box-shadow: 0 10px 24px rgba(0,0,0,0.45); |
| } |
| .play-btn svg { |
| width: 64px; height: 64px; |
| fill: #5B404E; |
| } |
| |
| |
| .bottom-nav { |
| position: absolute; |
| left: 0; right: 0; bottom: 0; |
| height: 230px; |
| background: #2B2327; |
| display: flex; |
| align-items: center; |
| justify-content: space-around; |
| padding: 20px 24px 36px; |
| box-sizing: border-box; |
| } |
| .tab { |
| width: 180px; |
| text-align: center; |
| color: #D7CBD0; |
| font-size: 34px; |
| } |
| .icon-wrap { |
| width: 100px; height: 100px; |
| margin: 0 auto 18px; |
| display: flex; align-items: center; justify-content: center; |
| border-radius: 28px; |
| } |
| .tab .icon { |
| width: 72px; height: 72px; |
| } |
| .tab.active .icon-wrap { |
| background: #4A4046; |
| } |
| .tab.active { color: #F0E6EA; } |
| |
| |
| .gesture { |
| position: absolute; |
| left: 50%; |
| transform: translateX(-50%); |
| bottom: 22px; |
| width: 360px; |
| height: 12px; |
| background: #E8E1E4; |
| border-radius: 8px; |
| opacity: 0.95; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| <div class="title">Stopwatch</div> |
| <div class="ellipsis" aria-label="More options"> |
| <span></span><span></span><span></span> |
| </div> |
|
|
| <div class="ring"> |
| <div class="digits"> |
| <div class="mm">00</div> |
| <div class="ss">00</div> |
| </div> |
| </div> |
|
|
| <div class="play-btn" aria-label="Start"> |
| <svg viewBox="0 0 24 24"> |
| <path d="M8 5v14l11-7-11-7z"></path> |
| </svg> |
| </div> |
|
|
| <div class="bottom-nav"> |
| <div class="tab"> |
| <div class="icon-wrap"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="#D7CBD0" d="M12 8a6 6 0 0 1 6 6v3H6v-3a6 6 0 0 1 6-6zm-5.2-2.9 1.6-1.2 1.2 1.6-1.6 1.2-1.2-1.6zm9.2.4 1.2-1.6 1.6 1.2-1.2 1.6-1.6-1.2zM12 6a8 8 0 0 0-8 8v5h16v-5a8 8 0 0 0-8-8z"/> |
| </svg> |
| </div> |
| <div>Alarm</div> |
| </div> |
|
|
| <div class="tab"> |
| <div class="icon-wrap"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="#D7CBD0" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 11h5v-2h-4V6h-2v7z"/> |
| </svg> |
| </div> |
| <div>Clock</div> |
| </div> |
|
|
| <div class="tab"> |
| <div class="icon-wrap"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="#D7CBD0" d="M6 2h12l-5 6h-2L6 2zm0 20h12l-5-6h-2l-5 6z"/> |
| </svg> |
| </div> |
| <div>Timer</div> |
| </div> |
|
|
| <div class="tab active"> |
| <div class="icon-wrap"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="#F0E6EA" d="M15 1H9v2h6V1zM12 5a9 9 0 1 0 .002 18.002A9 9 0 0 0 12 5zm0 16a7 7 0 1 1 0-14 7 7 0 0 1 0 14zm1-11h-2v5l4 2 1-1.8-3-1.2V10z"/> |
| </svg> |
| </div> |
| <div>Stopwatch</div> |
| </div> |
|
|
| <div class="tab"> |
| <div class="icon-wrap"> |
| <svg class="icon" viewBox="0 0 24 24"> |
| <path fill="#D7CBD0" d="M3 11h9a4 4 0 0 1 4 4v4H3v-8zm14 3h4v5h-4v-5zM3 9h8V7H3v2z"/> |
| </svg> |
| </div> |
| <div>Bedtime</div> |
| </div> |
| </div> |
|
|
| <div class="gesture"></div> |
| </div> |
| </body> |
| </html> |