Im doing a course on JS, HTML and CSS. When the instructor is making the website menu, he puts menu.change in the css. However, .change isnt in the html. .menu is.
What does menu.change do.
Here is the code
.menu {
width: 4rem;
height: 6rem;
background-color: #000;
position: fixed;
top: 1rem;
left: 5rem;
border-radius: 30rem 30rem 15rem 15rem;
box-shadow: 0.1rem 0.1rem 0.1rem #000, -.1rem -.1rem -.1rem #000;
cursor: pointer;
transition: ;
}
.menu.change {
top: 15rem;
THanks
Once including this in the CSS, the element on the webpage changes location, 15rem down from the top. Does that mean that menu.change - .change is just a feature/animation or am i missing something?