<a href="#">link</a>
a {
text-align: center;
width: 10%;
display: block;
margin: 10px;
padding: 10px;
background: pink;
border-radius: 5px;
color: black;
text-decoration: none;
font-size: 24px;
transition: all 0.5s ease;
&:hover {
background: blue;
color: white;
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.