js实现一个简洁黄色时钟效果代码
代码语言:html
所属分类:布局界面
代码描述:js实现一个简洁黄色时钟效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html> <head> <style> /*------------∞ | reset.css | ∞------------*/ /* ∞∞ postcss ∞∞ */ /* ∞∞ font ∞∞ */ @import url(https://fonts.googleapis.com/css?family=Lato:300,900); body { font-family: 'Lato', sans-serif; } /* ∞∞ global ∞∞ */ * { position: relative; margin: 0; padding: 0; box-sizing: border-box; border-color: inherit; } body { width: 100vw; height: 100vh; overflow-x: hidden; overflow-y: scroll; font-size: 100%; font-style: normal; font-weight: 300; line-height: 1; margin: 0; padding: 0; } /* ∞∞ text styling ∞∞ */ h1, h2, h3, h4, h5, h6, p, em, a, b, strong { font-style: normal; font-weight: 300; } strong { font-size: 1.15em; } small { font-size: .85em; } ul, ol, menu { list-style: none; } sub, sup { font-size: .75em; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } abbr[title] { border-bottom: 1px dotted; } dfn { font-style: italic; } /* ∞∞ form elements ∞∞ */ button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; background: transparent; outline: none; border: none; border-radius: 0; -webkit-appearance: none; -moz-appearance: none; appearance: none; } button, select { text-transform: none; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } fieldset { border: none; margin: 0; padding: 0; min-width: 0; } textarea { resize: none; } /* ∞∞ link styling ∞∞ */ a { display: inline; text-decoration: none; color: inherit; cursor: pointer; } a:active, a:hover { outline: 0; } /* a::before { width: 100%; height: .2rem; position: absolute; bottom: 0; left: 0; background-color: #7ac; } a:hover::before { background-color: #49e; height: .35rem; } */ /* ∞∞ hr using box ∞∞ */ hr { border: none; box-sizing: border-box; height: .075rem; } /* ∞∞ hidden ∞∞ */ [hidden], template { display: none; } /*.........完整代码请登录后点击上方下载按钮下载查看
网友评论0