<html>
<head>
<title>My webpage</title>
</head>
<body>
<h2>Welcome to my HTML tutorial</h2>
<p>Click the button below to begin</p>
<button id="btn-1" class="my-btn">CLICK ME</button>
</body>
</html>
body {
font-family: monospace;
padding: 20px;
}
button {
border: 1px solid black;
background-color: rgba(0,0,0,0.1);
padding: 10px;
font-family: monospace;
margin-top: 10px;
}
button:hover {
background-color: white;
border: 1px solid grey;
cursor: pointer;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.