From d73af4b9142484d8bb36b0156b2acb2acd3948a8 Mon Sep 17 00:00:00 2001 From: Nayana Agrawal <101566994@georgebrown.ca> Date: Fri, 1 Nov 2024 22:04:20 +0000 Subject: [PATCH] added webkit autofill to css file so autofill username and password appear in white as intended --- index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.css b/index.css index 2ec106516d2..b37b0c12598 100644 --- a/index.css +++ b/index.css @@ -67,6 +67,11 @@ input:-internal-autofill-selected { background-clip: text; } +/*So autofill text appears in white instead of default black*/ +input:-webkit-autofill { + -webkit-text-fill-color: #ffffff; +} + /* Need adjust input font-size */ input { font-size: 3.2rem;