From 44fdf3796cf86021e8efddbad4015bd5453eb3ea Mon Sep 17 00:00:00 2001 From: manvi Date: Fri, 20 Mar 2026 17:21:12 +0530 Subject: [PATCH] Add files via upload --- index.html | 362 +++++++++++++++++++++++++++++------------------------ style.css | 205 +++++++++++++++--------------- 2 files changed, 298 insertions(+), 269 deletions(-) diff --git a/index.html b/index.html index 8cc7ab0..7fcd286 100644 --- a/index.html +++ b/index.html @@ -1,167 +1,195 @@ - - - -Typing Pulse Visualizer - - - - - - -
-

⌨️ Typing Pulse Visualizer

-

Click Start → then type for music 🎧🔥

-
- - - -
-Keys Pressed: 0
-Typing Speed: 0 WPM
-Typing Style: Waiting... -
- - - - - - - + + + +Typing Pulse Visualizer + + + + + +
+

⌨️ Typing Pulse Visualizer

+

Click Start → then type for music 🎧

+
+ + + + + +
+Keys Pressed: 0
+Typing Speed: 0 WPM
+Typing Style: Waiting...
+Time: 0s +
+ + + + + + + \ No newline at end of file diff --git a/style.css b/style.css index 3b20994..130213c 100644 --- a/style.css +++ b/style.css @@ -1,102 +1,103 @@ -body{ -margin:0; -height:100vh; -overflow:hidden; - -background:#000; -color:#00ff00; -font-family: monospace; -} - -/* HEADER */ -header{ -position:absolute; -top:30px; -width:100%; -text-align:center; -z-index:2; -} - -header h1{ -font-size:42px; -color:#00ff00; -text-shadow:0 0 10px #00ff00; -} - -header p{ -font-size:18px; -opacity:0.85; -margin-top:8px; -} - -/* LEFT STATS PANEL */ -#stats{ -position:absolute; -left:20px; -top:120px; - -width:260px; - -background:#000; -border:1px solid #00ff00; - -padding:25px; -border-radius:8px; - -font-size:18px; -line-height:2.2; - -z-index:2; - -box-shadow:0 0 20px rgba(0,255,0,0.2); -} - -#stats span{ -display:block; -font-size:22px; -font-weight:bold; -color:#00ff00; -text-shadow:0 0 6px #00ff00; -} - -/* BUTTON */ -#startBtn{ -position:absolute; -bottom:30px; -left:50%; -transform:translateX(-50%); - -padding:12px 24px; -font-size:16px; - -background:#000; -color:#00ff00; - -border:1px solid #00ff00; -border-radius:4px; - -cursor:pointer; - -z-index:2; - -transition:0.2s ease; -} - -#startBtn:hover{ -background:#00ff00; -color:#000; -box-shadow:0 0 15px #00ff00; -} - -#startBtn:active{ -transform:translateX(-50%) scale(0.95); -} - -/* CANVAS */ -canvas{ -position:absolute; -top:0; -left:0; -z-index:1; -background:#000; -} +*{ +margin:0; +padding:0; +box-sizing:border-box; +font-family:Segoe UI, sans-serif; +} + +body{ +height:100vh; +overflow:hidden; +background:linear-gradient(135deg,#0f2027,#203a43,#2c5364); +color:white; +} + + +header{ +position:absolute; +top:20px; +width:100%; +text-align:center; +} + +header h1{ +font-size:36px; +letter-spacing:2px; +} + +header p{ +opacity:0.8; +margin-top:5px; +} + + +#stats{ +position:absolute; +left:30px; +top:120px; +background:rgba(255,255,255,0.08); +border:1px solid rgba(255,255,255,0.15); +padding:25px; +border-radius:12px; +backdrop-filter:blur(10px); +box-shadow:0 0 20px rgba(0,0,0,0.4); +font-size:18px; +line-height:2; +animation:glow 3s infinite alternate; +} + +#stats span{ +color:#00f7ff; +font-weight:bold; +} + +@keyframes glow{ +from{ +box-shadow:0 0 10px rgba(0,255,255,0.2); +} +to{ +box-shadow:0 0 25px rgba(0,255,255,0.6); +} +} + +canvas{ +display:block; +} + +button{ +position:absolute; +padding:10px 20px; +font-size:15px; +color:white; +cursor:pointer; +background:rgba(255,255,255,0.15); +border:1px solid rgba(255,255,255,0.4); +border-radius:8px; +box-shadow:0 0 10px rgba(0,0,0,0.4); +transition:all 0.2s ease; +} + +button:hover{ +background:rgba(255,255,255,0.25); +border-color:#00f7ff; +} + +button:active{ +transform:scale(0.95); +} + +#startBtn{ +bottom:30px; +left:50%; +transform:translateX(-50%); +} + +#resetBtn{ +bottom:30px; +right:30px; +} + +#muteBtn{ +bottom:30px; +left:30px; +} \ No newline at end of file