JSFiddle - React, Tailwind, and code Playground

by bmarsh123

HTML

<label>Click <input type="submit" value="here" /> to go somewhere.</label>
<br /><br />
<label>Click <a href="#">here</a> to go somewhere else.</label>

CSS

input, a {
    background: none !important;
    border: none;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
    color: -webkit-link;
    font-family: "Times New Roman", Courier, monospace;
    font-size: 16px;
}
input:hover, a:hover {
    text-decoration: underline;
    color: #0088CC;
}
input:active, a:active {
    color: #FF0000;
}

JavaScript

$('input, a').click(function() {
    alert('Clicked');
});