<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>HTML5 SVG数字变形时钟特效 - 更多源码【www.96flw.com】</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class='wrapper'>
<div class='clock'>
<div class='number number_1'>
<div class='digit' data-number='0'>
<svg class='digit__svg' viewbox='0 0 50 100' xmlns='http://www.w3.org/svg/2000'>
<path d='M0,0 L50,0 L50,50 L50,100 L0,100 L0,25 L0,0'></path>
</svg>
</div>
<div class='digit' data-number='0'>
<svg class='digit__svg' viewbox='0 0 50 100' xmlns='http://www.w3.org/svg/2000'>
<path d='M0,0 L50,0 L50,50 L50,100 L0,100 L0,25 L0,0'></path>
</svg>
</div>
</div>
<div class='number number_2'>
<div class='digit' data-number='0'>
<svg class='digit__svg' viewbox='0 0 50 100' xmlns='http://www.w3.org/svg/2000'>
<path d='M0,0 L50,0 L50,50 L50,100 L0,100 L0,25 L0,0'></path>
</svg>
</div>
<div class='digit' data-number='0'>
<svg class='digit__svg' viewbox='0 0 50 100' xmlns='http://www.w3.org/svg/2000'>
<path d='M0,0 L50,0 L50,50 L50,100 L0,100 L0,25 L0,0'></path>
</svg>
</div>
</div>
<div class='number number_3'>
<div class='digit' data-number='0'>
<svg class='digit__svg' viewbox='0 0 50 100' xmlns='http://www.w3.org/svg/2000'>
<path d='M0,0 L50,0 L50,50 L50,100 L0,100 L0,25 L0,0'></path>
</svg>
</div>
<div class='digit' data-number='0'>
<svg class='digit__svg' viewbox='0 0 50 100' xmlns='http://www.w3.org/svg/2000'>
<path d='M0,0 L50,0 L50,50 L50,100 L0,100 L0,25 L0,0'></path>
</svg>
</div>
</div>
</div>
</div>
<script src='js/anime.min.js'></script>
<script src="js/script.js"></script>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';color:#ffffff">
<p>适用浏览器:360、FireFox、Chrome、Opera、傲游、搜狗、世界之窗. 不支持Safari、IE8及以下浏览器。</p>
<p>更多源码<a href="http://www.96flw.com" target="_blank">www.96flw.com</a></p>
</div>
</body>
</html>
HTML5 SVG数字变形时钟特效.zip
版权申诉
83 浏览量
2023-10-10
23:42:44
上传
评论
收藏 9KB ZIP 举报
码云笔记
- 粉丝: 2w+
- 资源: 5851