mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
27 lines
572 B
HTML
27 lines
572 B
HTML
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
.square {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 200px;
|
|
height: 100px;
|
|
background-color: red;
|
|
animation-name: z-spin;
|
|
animation-duration: 5s;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
}
|
|
|
|
@keyframes z-spin {
|
|
0% { transform: rotateZ(0deg); }
|
|
100% { transform: rotateZ(360deg); }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body >
|
|
<div class="square"></div>
|
|
</body>
|
|
</html>
|