anime+css实现时间翻拍滚动控制效果代码
代码语言:html
所属分类:其他
代码描述:anime+css实现时间翻拍滚动控制效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
position: absolute;
overflow: hidden;
width: 100%;
height: 100%;
background: #1a1a1a;
font-family: monospace;
}
#clock {
font-size: 32px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 40ch;
height: 20ch;
padding: 4ch;
border-radius: 4ch;
/* background: #202020;*/
}
#digital {
perspective: 1000px;
display: flex;
gap: 1ch;
height: 4ch;
margin-top: 4ch;
margin-bottom: 4ch;
}
#digital::after {
content: "";
display: block;
position: absolute.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0