简单的写了一个温度计
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> - CSS Thermometer</title>
<style>
@import url("https://fonts.googleapis.com/css?family=Jaldi&display=swap");
body {
display: flex;
height: 100vh;
margin: 0;
background: #3d3d44;
font-family: 'Jaldi', sans-serif;
font-size: 14px;
color: white;
}
#wrapper {
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
}
p {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#info {
opacity: 0.2;
margin: 0;
text-align: center;
}
#termometer {
width: 25px;
background: #38383f;
height: 240px;
position: relative;
border: 9px solid #2a2a2e;
border-radius: 20px;
z-index: 1;
margin-bottom: 50px;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0