<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<title> </title>
</head>
<body>
<div class="squere">
</div>
</body>
</html>
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.squere {
width: 60px;
height: 60px;
margin: 30px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
animation-name: spin;
animation-duration: 2s;
}
@-webkit-keyframes spin{
}
.squere{
-webkit-animation-name: spin;
-webkit-animation-duration: 2s;
}