css+js实现一个质感立体时钟走动显示时间效果代码

代码语言:html

所属分类:布局界面

代码描述:css+js实现一个质感立体时钟走动显示时间效果代码

代码标签: css js 质感 立体 时钟 走动 显示 时间

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        * {
    	box-sizing:border-box;
    }
    body {
    	background:rgb(29,27,36);
    	padding:0;
    	margin:0;
    	font-family:sans-serif;
    	font-size:16px;
    	display:flex;
    	justify-content:center;
    	align-items:center;
    	flex-direction:column;
    	width:100%;
    	height:100vh;
    }
    h1 {
    	background:linear-gradient(tomato,rgb(212,40,40));
    	font-size:2.8em;
    }
    .heading {
    	background-clip:text;
    	-webkit-background-clip:text;
    	color:rgba(0,0,0,.2);
    }
    .clock-body {
    	width:550px;
    	height:550px;
    	border-radius:20%;
    	background:tomato;
    	display:flex;
    	justify-content:center;
    	align-items:center;
    	box-shadow:inset 1px 10px 40px 40px  .........完整代码请登录后点击上方下载按钮下载查看

网友评论0