JSFiddle - React, Tailwind, and code Playground
by SHELDON PASCIAK
HTML
<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!DOCTYPE html>
<html>
<body>
<h3>
<input onclick="myFunction()" type="text" size=80 value="https://youwillchangetheworld.com/referred/EBHs8uA7A3" id="myInput">
<br />
<button onclick="myFunction()">Copy Your Invite Link
</button>
</h3>
<script>
function myFunction() {
var copyText = document.getElementById("myInput");
copyText.select();
document.execCommand("copy");
alert("Copied the text: " + copyText.value);
}
</script>
</body>
</html>
CSS
#myInput {
background: transparent;
border-top: transparent !important;
border-left: transparent !important;
border-right: transparent !important;
border-bottom: transparent !important;
font-weight: 200;
color: RED;
padding-left: 0;
}