How to style form autofill CSS in Ionic 5/Angular

How to style form autofill CSS in Ionic 5/Angular:


// AUTOFILL CSS
// put in your global css file
input:-webkit-autofill, input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px white inset;
  -webkit-text-fill-color: #333;
}