javascript|第一篇博文,发一个用(h5,css,js)做的闹钟吧





- 锐客网

#bodyDiv{
width: 600px;
height: 400px;
background: skyblue;
margin: 100px auto;
border-radius: 40px;
box-shadow: 4px -4px 9pxrgba(0,0,0,0.4);
position: relative;
}
#timeDiv{
width: 450px;
height: 60px;
background: seashell;
border-radius: 17px;
position: absolute;
top: 50px;
left: 65px;
box-shadow: 2px 2px 6px 3px rgba(0,0,0,0.3);
}
.btn1 input{
width: 80px;
height: 30px;
position: absolute;
top: 145px;
right: 90px;
border-radius: 12px;
background: salmon;
outline: none;
}
.btn2 input{
width: 80px;
height: 30px;
position: absolute;
top: 210px;
right: 90px;
border-radius: 12px;
background: seagreen;
outline: none;
}
.timeKuai{
float: left;
width: 40px;
height: 35px;
background-color: bisque;
color: #f90013;
font-size: 16px;
font-family: Arial;
border-radius: 5px;
text-align: center;
line-height: 37px;
margin-top: 12px;

}
.ziti{
float: left;
margin: 24px 8px ;
width: 4px;
height: 12px;
font-size: 12px;
line-height: 12px;
color: saddlebrown;
}
#timeSet{
width: 300px;
height:230px;
position: absolute;
bottom: 5px;
left: 5px;
border-radius: 43px 0 45px 43px;
background: rgba(255,0,0,0.1);
display: none;
}
#timeSet input{
display: block;
margin: 10px;
}























星期









闹钟时间设置










【javascript|第一篇博文,发一个用(h5,css,js)做的闹钟吧】
javascript|第一篇博文,发一个用(h5,css,js)做的闹钟吧
文章图片

    推荐阅读