css-案例-loading
Title
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
.loading {
display: inline-block;
width: 100px;
height: 100px;
border: 10px solid #333333;
border-bottom: #cccccc 10px solid;
border-radius: 50%;
-webkit-animation: load 1.1s infinite linear;
}
@-webkit-keyframes load {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="loading"></div>
</body>
</html>
Lee2

浙公网安备 33010602011771号