[Solved] css plus to close button
There is no need to use javascript or keyframes to do that. I feel like your codepen is complicated for not much! Here is your code, modified, with my comments: body { font-family: sans-serif; } .btn-square { width: 100px; height: 100px; background-color: blue; transition: background-color 1s; /* Added */ } .close { position: relative; display: … Read more