DEV Community

Cover image for Easy way to remove default highlight blue when touching for mobile in the browser
Yousif Jasm
Yousif Jasm

Posted on • Edited on

Easy way to remove default highlight blue when touching for mobile in the browser

This blog will show how to remove the default highlight easiest way by pure CSS in just one line

* {
  -webkit-tap-highlight-color: transparent;
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)