input:-webkit-autofill issue

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
theripper_0
Posts: 1
Joined: 30 Nov 2019, 13:02

05 Dec 2019, 20:20

Hi,

i have a problem with remove ugly and non transparent background which overrides default styles. I was spending a lot of hours with trying to remove this background but result is that the animations and the line below input field are strictly bounded with the background so i can't remove this background without removing animations.

Maybe someone has a ready-to-use solution that does not break the lines and remove the background?

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

16 Dec 2019, 14:55

Hi,
If you mean Filled InputText or Textbox background, you can add the below code in your stylesheet or _theme_styles file(src/assets/sass/overrides/_theme_styles)

Code: Select all

body {
    .md-inputfield {
        &.md-inputfield-fill {
            input {
                background-color: transparent;
            }
        }

        &.md-inputfield-box {
            input {
                background-color: transparent;
            }
        }
    }
}
If not, please can you explain a little more or send me screenshot of the part you want to change?

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests