JSFiddle - React, Tailwind, and code Playground
HTML
<button>click-and-drag from this text into the padding</button>
<div id="clicks"></div>
CSS
button {
color: #444;
font-family: Verdana;
font-weight: bold;
font-size: 14pt;
border-style: solid;
border-width: 2px;
border-left-color: #A4CDEB;
border-top-color: #A4CDEB;
border-right-color: #0084B8;
border-bottom-color: #0084B8;
background-color: #F0F0F0;
padding: 60px 60px 60px 60px;
margin: 2px 2px 2px 2px;
position: relative;
/*border-radius: 5px;*/
}
button:active {
border-right-color: #A4CDEB;
border-bottom-color: #A4CDEB;
border-left-color: #0084B8;
border-top-color: #0084B8;
padding: 59px 61px 61px 59px;
}
button:hover {
background-color: #E8E8E8;
}
button:before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
JavaScript
$("button").click(function() {$("#clicks").append("<span>click</span><br/>");});