0
Hello, everyone. I’m a beginner in web development and wanted to solve a problem that might even be basic for some of you. In short, I can’t get VS code to compile this part of css code, more precisely the "Animate" part, where clearly when played in Vscode there is no compilation.
box-area li{
position: absolute;
display: block;
list-style: none;
width: 25px;
height: 25px;
background: rgba(255, 255, 255, 0.2);
animation: animate 20s linear infinite;
In the video-course I was watching the instructor used exactly these parameters. Would anyone have any hint as to why in Animation the "Animate" is not identified by the compiler?
Also, you need to declare the
animate
with@keyframes
, take a look at MDN documentation– Rafael Tavares