vue打造的简洁时钟效果
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> - Standard-agnostic clock</title>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Raleway:700|Work+Sans&display=swap'>
<style>
html,
body {
height: 100%;
}
body {
margin: 0;
background-color: #e0e0e0;
font-family: "Work Sans", sans-serif;
display: flex;
flex-direction: column;
color: #333333;
}
.column {
max-width: 620px;
margin-left: auto;
margin-right: auto;
}
h1,
.intro,
footer {
padding-left: 1rem;
padding-right: 1rem;
}
h1 {
font-family: "Raleway", sans-serif;
font-weight: 700;
}
.intro p {
margin: 0;
}
.intro {
margin-bottom: .5rem;
}
#app {
display: flex;
flex-direction: row.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0