<!doctype html> <style> input:focus { outline: 1px solid green; caret-color: transparent; } </style> <input autofocus>