Removing default outline

Hi all,

I don't want that default black outline on Chrome. I can use outline: none;, which removes it, but I hear that is bad practice; so what should be done?
Maybe this?
input {
  outline: transparent;
}
Was this page helpful?