Skip to content

Instantly share code, notes, and snippets.

View weeklyd3's full-sized avatar

weeklyd3 weeklyd3

View GitHub Profile
@weeklyd3
weeklyd3 / form.html
Last active July 27, 2021 16:50
StackOverflow question 68537359
<!-- Here is the HTML form. -->
<form action="process.php" method="post">
<input type="text" placeholder="Your Value" name="text" />
<input type="submit" value="Send" />
</form>
@weeklyd3
weeklyd3 / disable-selection-button.css
Last active May 5, 2021 04:24
Disable selection for all buttons.
button {
user-select:none; /* Actual property. */
/* For compatibility with older browsers */
-o-user-select:none; /* Opera browser support */
-ms-user-select:none; /* IE and Microsoft Edge support */
-moz-user-select:none; /* Firefox support */
-webkit-user-select:none; /* Webkit engine (Chrome and Safari) */
}