diff --git a/index.html b/index.html index f89818c..2221c46 100644 --- a/index.html +++ b/index.html @@ -14,40 +14,30 @@ @keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: 0.4 } } .scale-75 { transform: scale(0.75); transform-origin: center center; } - .content-box { - max-width: 28rem; /* same as your max-w-lg */ - margin: 0 auto; - width: 100%; - } - .amount-container { - padding: 3rem 0; - width: 100%; - } + .content-box { max-width: 28rem; margin: 0 auto; width: 100%; } + .amount-container { padding: 3rem 0; width: 100%; } .amount-wrapper { - display: flex; - justify-content: center; - align-items: baseline; - gap: 0.4ch; - font-weight: 900; - letter-spacing: -0.05em; - line-height: 1; - white-space: nowrap; - width: 100%; + display: flex; justify-content: center; align-items: baseline; + gap: 0.4ch; font-weight: 900; letter-spacing: -0.05em; line-height: 1; + white-space: nowrap; width: 100%; } #amountInput { - background: transparent; - border: none; - outline: none; - color: white; - font: inherit; - text-align: center; - min-width: 1ch; - caret-color: #0ea5e9; + background: transparent; border: none; outline: none; color: white; + font: inherit; text-align: center; min-width: 1ch; caret-color: #0ea5e9; } - .usd { - font-size: 0.38em; - font-weight: 400; - color: #71717a; + .usd { font-size: 0.38em; font-weight: 400; color: #71717a; } + + /* Toggle Switch */ + .toggle-group { + display: flex; background: #111; border: 4px solid white; + border-radius: 1rem; overflow: hidden; width: fit-content; margin: 2rem auto; + } + .toggle-btn { + padding: 1rem 2rem; font-weight: 900; text-transform: uppercase; + font-size: 1.1rem; cursor: pointer; transition: all 0.3s; + } + .toggle-btn.active { + background: white; color: black; } @@ -61,7 +51,7 @@

One-time. No bullshit.

- +
$ @@ -69,6 +59,12 @@
+ +
+
One-Time
+
Recurring Monthly
+
+
@@ -102,13 +98,13 @@
- +