Use the following code:
<html>
<body>
<input type="submit" style="color: transparent; background-color: transparent; border-color: transparent; cursor: default;">
</body>
</html>
Save this file as a html file. If you open the file there is an invisible but still active button.
Press Tab to select the button. Now there is a grey dotted rectangle arround the still invisible button. Can someone help me to disable that rectangle. Thanks to responders
I'm trying to make a totally invisible site login, that's the only visible part of it, please help.
You can use the style outline: 0;
to disable the dotted rectangle from the button when it's focused.
Example:
<input type="submit" style="outline: 0;">
Though, I'm not sure what you are trying to do is correct... Are you just trying to hide the button? Your best bet is to use display: none;
Example:
<input type="submit" style="display: none;">
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