How to make transparent the selection of a button in html

0

I need help, to hide the section of a button in html, this only happens when I visualize the page in mobile view, since, in desktop view if I can hide the selection box, here is an image to guide :

    
asked by Electro Carga 21.08.2018 в 06:46
source

1 answer

0

To do this, you must apply the : active style to the button.

button:active{ background-color: transparent;}

If it does not work for you (I do not see your code to be able to assess it) you have another option:

Add ontouchstart="" to your body tag:

<body ontouchstart="">

Here you can find more information: link

link

    
answered by 21.08.2018 в 13:14