jquery实现各种环境音效的番茄时钟倒计时效果代码
代码语言:html
所属分类:其他
代码描述:jquery实现各种环境音效的番茄时钟倒计时效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.5.0.css">
<style>
* {
box-sizing: border-box;
outline: none;
user-select: none;
}
body {
align-items: center;
background: radial-gradient(ellipse at center, rgba(255, 179, 206, 0) 0%, rgba(255, 180, 199, 0) 43%, rgba(255, 181, 189, 0.43) 100%);
background-attachment: fixed;
background-repeat: no-repeat;
display: flex;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffb3ce", endColorstr="#6effb5bd", GradientType=1);
flex-direction: column;
font-family: "Open Sans", sans-serif;
height: 100vh;
justify-content: center;
min-width: 184px;
overflow-x: hidden;
transition: background-color 0.2s;
}
#pomodoro {
margin-bottom: 43px;
max-width: 512px;
width: 100%;
}
#pomodoro #clock {
background: url(https://joeweaver.me/codepenassets/freecodecamp/challenges/build-a-pomodoro-clock/bg.png) no-repeat center center;
background-size: contain;
display: flex;
justify-content: center;
margin-bottom: -6.25vw;
padding: 40vw 0;
}
@media all and (min-width: 512px) {
#pomodoro #clock {
margin-bottom: -32px;
padding: 204px 0;
}
}
@media al.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0