2 Star 0 Fork 0

mirrors_svgdotjs/svg.clock.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
Ricardo Rocha 提交于 2018-01-11 23:23 . Add swiss railway clock pause
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>A clock built with the svg.js library, inspired by the Swiss Railway clock</title>
<meta name="description" content="Inspired by the Swiss Railway Clock, a plugin for the svg.js library." />
<style type="text/css" media="screen">
html, body { background-color: #EBEBE0; width: 100%; height: 100%; overflow: hidden; margin: 0; padding: 0; font-family: 'Helvetica Neue, Helvetica', Arial, sans-serif; font-weight: 300; }
html, a { color: #A6A6A4; }
#canvas { position: relative; height: 80%; top: 10%; margin: 0 5% 0 5%; }
#copyright { width: 600px; margin-left: -300px; left: 50%; bottom: 0px; text-align: center; font-size: 10px; position: absolute; }
</style>
</head>
<body>
<figure id="canvas"></figure>
<p id="copyright">
This is <a href="https://github.com/wout/svg.clock.js">a plugin</a> for <a href="http://svgjs.com">svg.js</a>, a lightweight svg JavaScript library - The Swiss Railway clock design &copy; <a href="http://en.wikipedia.org/wiki/Hans_Hilfiker" target="_blank">Hans Hilfiker</a>
</p>
</body>
<script src="lib/svg.min.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/svg.easing.min.js" type="text/javascript" charset="utf-8"></script>
<script src="svg.clock.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
SVG('canvas').clock('100%').start()
</script>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_svgdotjs/svg.clock.js.git
git@gitee.com:mirrors_svgdotjs/svg.clock.js.git
mirrors_svgdotjs
svg.clock.js
svg.clock.js
master

搜索帮助