I want to hide HTML Button selection like in above image whenever i click on buttons from 1 to 25 Its shows that it is selected like now i hv clicked on 10 its shows dotted border when i click on 10 no button .. I want to hide this for security purpose how can i do this any idea will help me
The hidden attribute hides the <button> element. You can specify either 'hidden' (without value) or 'hidden="hidden"'. Both are valid.
Completely hiding elements can be done in 3 ways: via the CSS property display , e.g. display: none; via the CSS property visibility , e.g. visibility: hidden; via the HTML5 attribute hidden , e.g. <span hidden>
You can hide an element in CSS using the CSS properties display: none or visibility: hidden . display: none removes the entire element from the page and mat affect the layout of the page. visibility: hidden hides the element while keeping the space the same.
It usually isn't a good idea to remove the line for accessibility reasons. But if you really want to, some CSS like the following should work:
outline : 0;
-moz-outline : 0;
border : 0
These should be set on the :active
and :focus
psuedo classes for the buttons
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With