From ffaa6e56d34170e52010d823d960973deac5f9cb Mon Sep 17 00:00:00 2001 From: Aditya Raj <43811164+keshrirajj@users.noreply.github.com> Date: Fri, 21 Oct 2022 09:40:16 +0530 Subject: [PATCH] initial commit --- different input color | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 different input color diff --git a/different input color b/different input color new file mode 100644 index 000000000..b0cba32e2 --- /dev/null +++ b/different input color @@ -0,0 +1,6 @@ +I wanted to use a different color in input element when we click it. What's the easiest way to do that? + +in that case you can query selector +body > app-root > div:nth-child(1) > app-main-header > header > div > app-desktop-header-type-2 > div > div:nth-child(1) > div > input{ +color: #fff; +}