<button class="button">Hover over me 👋🏾</button>
<div class="footer"><p>Created by <a href="https://www.rembertdesigns.co/" target="_blank">Richard Rembert</a></p>
</div>
body {
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
}
.button {
font-size: 3em;
font-family: monospace;
background-color: green;
border: 2px solid #000;
padding: 0.25em 0.5em;
transition: background-color 2s ease-out;
}
.button:hover {
background-color: gold;
}
.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
background-color: #000;
text-align: center;
}
.footer p {
text-decoration: none;
color: #fff;
}
.footer a {
text-decoration: none;
color: gold;
}
.footer a:hover {
text-decoration: underline;
color: green;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.