分享一个用CSS 3.0实现的迷你钟的特效,效果如下:
代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS 3.0实现迷你钟特效</title>
<style>
body {
background: #575757;
}
div {
position: absolute;
}
#clock {
left: 50%;
top: 50%;
margin-left: -100px;
margin-top: -100px;
}
#clock-outer {
left: 0;
top: 0;
width: 164px;
height: 164px;
border: 18px s