Ive been trying to make my text transparent so that it it becomes the exact same color as my color changing background. Below is the code that I'm working with; your help will be greatly appreciated.
<body>
<ul>
<li><a href="mission.html" id=navbar>Dummy Text</a></li></ul>
</body>
<style>
body{
animation: 10000ms ease-in-out infinite color-change; padding: 5px 5%;
}
@keyframes color-change {
0% {
background-color:#0047ff;
}
50% {
background-color:#6f0ce8;
}
100% {
background-color:#0047ff;
}
}
ul {
list-style-type:none;
}
#navbar{
font-weight: bolder;
font-size: 33px;
background-color: black;
color: white;
border-radius: 0.9rem;
margin: 0.9rem;
transition: 0.3s;
text-decoration:none
}
</style>